Answer: When oxygen is present, aerobic respiration occurs, which releases carbon dioxide into the surrounding air or water. Otherwise, anaerobic respiration occurs and releases methane into the surrounding environment, which eventually makes its way into the atmosphere or hydrosphere.