The best description of how petroleum is formed is:
Remains of dead organisms are put under extreme pressure by layers of rock.
This process involves the accumulation of organic material, typically from microscopic marine organisms, which is subjected to heat and pressure over millions of years, transforming it into petroleum.