A partition wall is a non-load-bearing structure that divides spaces, while a load-bearing wall supports the weight of the building.