Petroleum was formed from organisms living in the sea. As these organisms died, their bodies settled down at the bottom of the sea and got covered with sand and clay. The absence of air, high pressure and high temperature for over millions of years transformed the dead organisms into petroleum and natural gas. The petroleum deposits are usually found mixed with salt water. The petroleum is lighter than salt water, and hence, floats over it.