Weatherstripping seals the gaps around the door to prevent drafts, pests, and water infiltration.