The correct option is B All the fossil fuels have come from biomass and biomass is a result of photosynthesis, which uses the solar energy.
Fossil fuels have formed from the dead remains of the living beings which were buried inside the Earth crust for millions of years. The living beings are made up of biomass. The biomass can only be produced by photosynthesis which is a chemical reaction which takes place in plants in presence of sunlight. Without sunlight, there would be no biomass and hence no fossil fuels.