Any of a class of enzymes that catalyse the formation of covalent bonds using the energy released by the cleavage of ATP. Ligases are important in the synthesis and repair of many biological molecules, including DNA (see dna ligase), and are used in genetic engineering to insert foreign DNA into cloning vectors.