A pergola is typically a standalone structure, while a verandah is attached to the house. Both provide shade and outdoor living space, but serve slightly different functions.