A pediment is a triangular architectural feature found atop a structure, typically serving as a decorative element that crowns doorways or windows. It often features sculptures or reliefs and plays a vital role in the overall design of temples, particularly in classical architecture, emphasizing the building's height and grandeur while framing the entrance.