Hot air balloons have been used for recreation and transportation since the 18th century. They work by heating the air inside the balloon to make it less dense than the surrounding air, providing lift. Pilots control the height of the balloon by heating the air inside with an open flame or allowing the air to cool.