Aerobic and anaerobic fermentation