This cutaway shows how to vent an exhaust fan through the roof.