If d_x^2-y^2 and p_y orbitals come close together along z-axis, they can form \pi-bond by sideways overlapping. | Chemical Bonding β€” Chem-Mantra | Chem-Mantra