Most geologists view crude oil and natural gas as the product of compression and heating of ancient organic materials over geological time. According to this theory, oil is formed from the preserved remains of prehistoric zooplankton and algae which have been settled to the sea bottom in large quantities under anoxic conditions. Terrestrial plants, on the other hand, tend to form coal. Over geological time this organic matter, mixed with mud, is buried under heavy layers of sediment.