

Organic compounds have one thing in common, that is they are made up of carbon, hydrogen and oxygen as the backbone elements. So that is what categorises organic compounds, and not whether it is living or non-living. Coal and petroleum are also made up of carbon and hydrogen as the main backbone elements, so they are classified as organic compounds.
