In architecture, a pavilion (from French pavillon, from Latin papilio) has several meanings. In architectural terminology it refers to a subsidiary building that is either positioned separately or as an attachment to a main building. Often its function makes it an object of pleasure.
In the traditional architecture of Asia, palaces or other large houses may have one or more subsidiary pavilions that are either freestanding or connected by covered walkways, as in the Forbidden City, Topkapi Palace in Istanbul, and in the Red Fort and other buildings of Mughal architecture.
In another more specific meaning applied to large palaces, it refers to symmetrically placed subsidiary building blocks that appear to be attached to each end of a main building block or to the outer ends of wings that extend from both sides of a central building block – the corps de logis. Such configurations provide an emphatic visual termination to the composition of a large building, akin to bookends.
Pavilions may be small garden outbuildings, similar to a summer house or a kiosk; small rooms on the roof of a large house, reached only via the roof (rather than by internal stairs) may also be called pavilions. These were particularly popular up to the 18th century and can be equated to the Italian casina, formerly rendered in English "". These often resembled small classical temples and follies. Especially if there is some space for food preparation, they may be called a banqueting house. A pavilion built to take advantage of a view may be referred to as a gazebo. Bandstands in a park are a class of pavilion. A pool house by a swimming pool may have sufficient character and charm to be called a pavilion. By contrast, a free-standing pavilion can also be a far larger building such as the Royal Pavilion at Brighton, which is in fact a large oriental style palace; however, like its smaller namesakes, the common factor is that it was built for pleasure and relaxation.