Why are coal and petroleum called fossil fuels?

(a) Why are coal and petroleum called fossil fuels ?
(b) Name any two elements present in fossil fuels in addition to carbon.

(a) They are formed from the preserved remains of organisms that lived millions of years ago and are used as fuels.
(b) Hydrogen / Nitrogen / Sulphur.