what is the appropriate hybridization for the carbon atom in CO2?

the explanation I was given is 2 electron groups around the center atom carbon suggest sp hybridization. the 2 unhibridized p orbitals on carbon form the 2 pi bonds.

My question is why pi bonds? Isn't it supposed to be sigma ?

The CO2 molecule is

O=C=O
In a double bond, one bond is the sigma and the other is a pi. In triple bonds, one sigma and two pi bonds.

In the case of carbon dioxide (CO2), the carbon atom is surrounded by two electron groups. To understand why pi bonds are formed, we need to examine the molecular orbital theory.

Hybridization is a concept that explains how atomic orbitals mix to form new hybrid orbitals that are involved in bonding. In this case, with two electron groups around the carbon atom, it undergoes sp hybridization. The two hybrid orbitals, formed by mixing one s orbital and one p orbital, are arranged in a linear geometry.

Now, let's talk about sigma and pi bonds. Sigma bonds are formed when two atomic orbitals directly overlap along the bonding axis. In CO2, the carbon atom forms two sigma bonds with the oxygen atoms by overlapping its sp hybrid orbitals with the oxygen's p orbitals.

On the other hand, pi bonds are formed by the sideways overlap of two p orbitals that are perpendicular to the bonding axis. In the case of CO2, after the formation of the sigma bonds, the remaining unhybridized p orbitals on the carbon atom remain available for bonding. These p orbitals overlap with the corresponding p orbitals on the oxygen atoms to form two pi bonds.

Therefore, in the case of CO2, we have two sigma bonds and two pi bonds. It is important to note that sigma bonds are always present in a molecule, whereas pi bonds are formed in addition to sigma bonds when there are unhybridized p orbitals available for bonding.

I hope this clarifies why pi bonds are formed in CO2 and helps you understand the concept of hybridization and bonding in molecular orbitals.