Haloalkanes and haloarenes are halogenated organic compounds classified based on the hybridization of the carbon atom bonded to the halogen. Haloalkanes contain halogen atoms bonded to sp3-hybridized carbon atoms of alkyl groups, while haloarenes have halogen atoms bonded to sp2-hybridized carbon atoms of aryl groups. These classes of compounds are important in industry and medicine, with many occurring naturally and some used as drugs, solvents, and starting materials for organic synthesis.