Alkyl halide (haloalkane) and aryl halide (haloarene)
The replacement of hydrogen atoms(s) in a hydrocarbon, aliphatic or aromatic, by halogen atom(s) results in the formation of alkyl halide (haloalkane) and aryl halide (haloarene), respectively.
Aliphatic hydrocarbon

An aliphatic compound is a hydrocarbon compound containing carbon and hydrogen joined together in straight chains, branched trains or non-aromatic rings. Aliphatic compounds may be saturated (e.g., hexane and other alkanes) or unsaturated (e.g., hexene and other alkene, as well as alkynes).
Aromatic hydrocarbon

Aromatic hydrocarbons, also called aromatic compounds, are compounds that contain benzene as a part of their structure. Benzene is a cyclic hydrocarbon with the formula C6H6.