In addition to acting as a full NBC suit (as seen in ANH when two stormtroopers were seen surviving the vacuum of space), it protects against physical threats such as shrapnel and blaster bolts. Stormtrooper armor protects its wearer from many hostile environmental conditions: extreme heat, extreme cold, toxic gases, and even short periods of exposure to the vacuum of space.