Ammonia is a trigonal pyramidal as it has an unshared pair of electrons attached to the central nitrogen atom. The three hydrogen atoms are repelled by the lone pair electrons pushing them as far as around 109° and in a different plane, thus making the shape pyramidal.