Fossil fuels are non-renewable energy fuels formed from the anaerobic decomposition of organic matter over…