A pi-bond is always formed by sidewise overlapping of p – p orbitals in a sidewise manner.
Sigma and pi bond are two types of covalent bonds that differ in the overlapping of atomic orbitals. Covalent bonds are formed by the overlapping of atomic orbitals. Sigma bonds are a result of the head-to-head overlapping of atomic orbitals whereas pi bonds are formed by the lateral overlap of two atomic orbitals.
Formation of pi bond
Pi bonds are formed by the sidewise positive (same phase) overlap of atomic orbitals along a direction perpendicular to the internuclear axis. During the formation of π bonds, the axes of the atomic orbitals are parallel to each other whereas the overlapping is perpendicular to the internuclear axis.