X: The slurry tank holds organic waste diluted with water. Y: A gas outlet expels biogas that is rich in methane. Z: Anaerobic bacteria within the digester break down organic matter, generating biogas and a nutrient-rich slurry suitable for agriculture.