Correct option is B
An ultimate source of energy stored in fossil fuels is from the Sun. Fossil fuel is formed of buried plants and animals millions of years ago. The plants store energy by means of photosynthesis, whose source is sunlight, that is ultimately the sun.