Enzymes that catalyze the joining of two molecules by the formation of a carbon-nitrogen bond. EC 6.3.