It's a secondary fuels such as gasoline, kerosene, heating oil, and diesel fuel are all included in the definition of "petroleum". Petroleum traps energy, first originating from the Sun, that was captured by photosynthetic plankton in ancient oceans. Just like coal, petroleum is a type of fossil fuel