Q. and both molecules are covalent, but is non polar and is polar. Its reason is

 1639  195 Chemical Bonding and Molecular Structure Report Error

Solution:

is planar while is pyramidal due to the presence of lone pair of electron on nitrogen in .