The BCl3 is a planar molecule, whereas NCl3 is pyramidal because
N-Cl bond is more covalent than B-CI bond
B-CI bond is more polar than N-Cl bond
nitrogen atom is smaller than boron
BCl3 has no lone pair but NCl3 has a lone pair of electron