I have a doubt about any type of hydrocarbon with a Carbon-Heteroatom bond, instead of a C-H bond like oxygenated, nitrogenated, brominated hydrocarbons. My question is: how polluted can they be to still be called a hydrocarbon?

Kind regards and thanks for reading!