Which sentence is correct about petroleum and natrual gas?

Petroleum and natural gas are both fossil fuels derived from organic matter that have been formed over millions of years.