To answer this question, we can look at a molecule such as ethyl acrylate. Ethyl acrylate has a structure that features two carbon atoms (sp2) involved in a double bond, and another two carbon atoms (sp3) in the ethyl group.
In the case of ethyl acrylate, the two sp2 hybridized carbons are part of the acrylate group characterized by the presence of a double bond between one carbon and the adjacent carbon. The other two carbon atoms in the molecule belong to the ethyl group, which is saturated and consists of sp3 hybridized carbons.
This unique arrangement ensures that ethyl acrylate meets the requirement of having both types of carbon hybridization within the same molecule, showcasing the diversity of structure and hybridization in organic chemistry.