A sill is the horizontal base of a window or door opening, providing structural support and a surface for weather sealing.