The purpose of a pergola really is to protect the homeowner. Often pergolas are used to provide shade to outdoor living spaces such as patio furniture, hot tubs, and outdoor grills. Pergolas provide just the right amount of shade, while still letting in all of the other elements.