In case of haloalkanes, halogen atom is attached to the sp3 hybridised carbon atom of an alkyl group whereas in haloarenes, halogen atom is attached to sp2 hybridised carbon atom of an aryl group.