While both gazebos and pergolas provide shade and a place to relax outdoors, there are some key differences between the two. Gazebos typically have a solid roof and are fully enclosed, while pergolas have an open roof and are often attached to a house or other structure.