how to point in the direction of a coordinate (x,y) point?

I have a gun gameObject and I want it to point continuosly at the player/ main character, how do I achieve this IF AND ONLY I HAVE THE COORDIANTE POINTS of the gameObject? I would, at this point listen to any advice :D)


You just need to know the Vector position of the player, and use LookAt() in a script placed on the gun