An enzyme that catalyzes the synthesis of ATP from ADP and phosphate.