The Box Vent, Up Close
Look at a box vent from the side and you can see how simple it is: a hood with louvers, a flange that slides under the shingles above and over the shingles below, and a hole in the deck beneath it. Warm air rises through the hole, turns through the louvers, and leaves. Rain stays out because the hood overhangs the opening and the flange sheds water down the slope.
One hood on its own vents a modest patch of attic, so the count matters. A long roof with a single box vent has a warm corner at each end where air sits still, and a short roof with too many hoods pulls air through the nearest one and leaves the rest idle. A ventilation visit counts the hoods against the attic they serve, and checks the flashing on each one, because a hood with a loose flange is a leak waiting for a storm.