Fact 1: coal is used to produce electricity by burning in coal-fire power stations. 
Fact 2: Coal comes from anciently buried plants, and petroleum is from animals.
anciently buried plants can produce electricity.