All three states result in taking up more room, also know as expansion. The expansion properties of solids, liquids and gases have some advantages and disadvantages.
One advantage of expanding metal is its use in thermometers. The mercury (liquid-metal) in the tube expands when they get hotter.
One disadvantage of expansion is that roads crack during the cold season because they contract and expand during the hot summer. This expansion can make road surfaces rough. Metal and steel structures used in bridges also expand when they heat up, causing fractures in the bridge.