A man stands on a cliff overlooking the ocean.
A man in looking at the ocean.
The second sentence is a man looking at the ocean and the first sentence implies the man is looking over the ocean as well.
(-x)
(-x)