Aside from storing air in the breathing cycle, they also lighten the skeleton when they invade bone. In effect, they hollow out the bone, so that it still has a strong outer shell but is much more lightweight, the way an air-filled basketball is lighter than a rock of similar size. Want to know how sauropods could hold up their long necks without toppling over like an unbalanced seesaw? It’s because all of the vertebrae were so engulfed by air sacs that they were little more than honeycombs, featherweight but still strong.