How are coal and oil made?

coal and oil are made by animals