# Are fossil fuels and petroleum the same thing?

I've been reading articles about renewable energy, and in comments people talk about fossil fuels and petroleum as examples of non-renewable types of fuel. Sometimes they are used interchangeably, or even mentioned as different things. I couldn't find explicit explanation for which is which, and if one is a subset of the other. Can someone clarify this for me?