They both have different uses, a gazebo is great for over a hot tub and can be used all year round, whereas a pergola is great for in summer when you want a usable open space.