Negative pressure rooms function by using specialized ventilation systems. The air is continually drawn into the room from the hallways or adjacent spaces and then filtered before being expelled outside. This process creates a pressure gradient that prevents contaminated air from leaking out. HEPA filters are commonly used to capture infectious agents.