Some Archaea are methanogens that produce methane as a metabolic waste product in anaerobic conditions.
They occur naturally in the guts of cattle to help digest cellulose, and can also be used in sewage treatment plants.