It was formed from chemicals that were produced from ancient living things.
To make the chemicals in oil, the temperatures and pressures needed to be just right.
The carbon compounds from the plants and animals have been trapped for hundreds of millions of years.
They have been burned to make carbon dioxide in a very short time.
The amount of carbon dioxide in the air has changed very quickly.