What is the relationship between oil, petroleum, gasoline, and fossil fuels?

Like, what is made from what.