As an element is a pure substance which contains only one kind of atoms ,so nitrogen -N2,contains only one kind of atom which is nitrogen of two atoms. And compound is also a pure substance which contains two or more kind of atoms. ... So,nitrogen is an element not an compound.