In CO2 molecule, carbon atom undergoes sp- hybridisation.
The two sp-hybridised orbitals of C-atom overlap with two p-orbitals of O-atoms to make 2σ bonds while other two electrons of C-atom are involved in pπ−pπ bonding with oxygen atom. Hence, it is linear in shape with equal C—O bond lengths and no dipole moment.