Aerobic respiration occurs in the presence of oxygen and produces more energy, while anaerobic respiration occurs without oxygen and produces less energy. Aerobic respiration results in carbon dioxide and water, while anaerobic respiration in muscles results in lactic acid, and in yeast, it produces ethanol and carbon dioxide.