A process by which organic matter, such as food waste or sewage, is broken down in the absence of oxygen to produce biogas and biofertilizer.