As discussed earlier, there are lot of variety of organic compounds, some of which have members of the halogen group (fluorine, chlorine, bromine, iodine, astatine) attached to their carbon atom, some which have no other element than hydrogen and carbon and others which have other elements like Sulphur, Nitrogen, Oxygen, Phosphorus, and so on.
In my previous article, I discussed about hydrocarbons and it was defined as any compound what so ever consisting mainly of hydrogen and carbon. You should note that; all hydrocarbons are organic compounds, but not all organic compounds are hydrocarbons, due to the presence of other elements.