Pergolas are a fascinating hybrid of open and enclosed space. They can be either freestanding or attached to existing buildings; in some cases they are used to affect a transition between a home and yard, patio or pool.