The correct option is B All the fossil fuels have come from biomass and biomass have come from photosynthesis, which uses solar energy.
Fossil fuels have formed from the dead remains of the living beings which were buried inside the earth's 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 the presence of sunlight. Without sunlight, there can be no biomass and hence no fossil fuels.