Why is there plastic behind drywall?

Why is there plastic behind drywall? Without poly beneath the drywall, water vapor hits the drywall and diffuses through to the drier (in summer) indoor air. By installing a sheet of poly there, you cut off that drying mechanism and water that finds its way into walls can stay there longer and do more damage.

Without poly beneath the drywall, water vapor hits the drywall and diffuses through to the drier (in summer) indoor air. By installing a sheet of poly there, you cut off that drying mechanism and water that finds its way into walls can stay there longer and do more damage.