A gazebo is a type of pavilion that is typically used as a garden structure. A pergola, on the other hand, is a freestanding arbor or porch with an open framework and can be made from wood or metal.