Explanation:
All hydrocarbons are considered as organic compounds. Every hydrocarbon has these two conditions, in which it is considered as a hydrocarbon, they are:
If these two conditions are found in any compound, then that compound is considered as a hydrocarbon.