How does a ventilation system work?