In boron trichloride, boron is sp hybridised and there is no lone pair on boron while in nitrogen. It is sp hybridised and there is a lone pair of electron in nitrogen. Hence, due to this reason BCl3 is a planer molecule and NCl3 is a pyramidal molecule.