Actually, all coal deposits in America and Europe, (possibly the entire planet), are entirely made of a specific type of tree bark. The deposit layers of which can only be produced in a hydraulic event. But yes, as to your greater point, hydrocarbons are deposits of what was plant matter.
There must have been a Hell of a lot of those trees....