Organic compounds containing an electronegative atom or electron-withdrawing group bonded to a carbon undergo substitution or elimination reactions. Alkyl halides specifically undergo SN1, SN2, E1, and E2 reactions. SN1 and E1 are unimolecular reactions that proceed through a carbocation intermediate, while SN2 and E2 are bimolecular reactions. The type of reaction depends on factors like the nucleophile strength and leaving group ability.