the formation oil, that is, sweet crude, is typically that accumulate on the seafloor and "kitchen" of the geothermal gradient to be altered in petroleum products.while Most of the coal we use now was formed about 300 million years ago, when much of the earth was covered by steamy swamps.
hope that helped