Due to larger atomic size P is unable to form pi bond and so it is tetra-atomic (P4) in which each P atom is linked with 3 other P atoms by 3 sigma bonds. But, due to smaller atomic size N forms 1 sigma and 2 pi bonds i.e. triple bonds with other N atom and exists as diatomic molecule (N2) .