Aerobic respiration requires the presence of oxygen, while anaerobic respiration occurs in the absence of oxygen. Anaerobic respiration typically produces less ATP and results in the accumulation of lactic acid or ethanol as byproducts.