A cornice is a horizontal decorative molding that crowns a building or structure, typically found at the top of a wall or just below the roofline. It serves both a practical and aesthetic purpose, helping to direct rainwater away from the walls while adding an elegant finish to architectural designs. Cornices can vary in style and detail, often reflecting the design traditions of their period.