The history of underwater diving starts with freediving as a widespread means of hunting and gathering, both for food and other valuable resources such as pearls and coral. By classical Greek and Roman times commercial applications such as sponge diving and marine salvage were established. Military diving also has a long history, going back at least as far as the Peloponnesian War, with recreational and sporting applications being a recent development. Technological development in ambient pressure diving started with stone weights (skandalopetra) for fast descent. In the 16th and 17th centuries diving bells became functionally useful when a renewable supply of air could be provided to the diver at depth, and progressed to surface-supplied diving helmets—in effect miniature diving bells covering the diver's head and supplied with compressed air by manually operated pumps—which were improved by attaching a waterproof suit to the helmet and in the early 19th century became the standard diving dress.
Limitations in the mobility of the surface-supplied systems encouraged the development of both open circuit and closed circuit scuba in the 20th century, which allow the diver a much greater autonomy. These also became popular during World War II for clandestine military operations, and post-war for scientific, search and rescue, media diving, recreational and technical diving. The heavy free-flow surface-supplied copper helmets evolved into lightweight demand helmets, which are more economical with breathing gas, which is particularly important for deeper dives and expensive helium based breathing mixtures, and saturation diving reduced the risks of decompression sickness for deep and long exposures.
An alternative approach was the development of the "single atmosphere" or armoured suit, which isolates the diver from the pressure at depth, at the cost of great mechanical complexity and limited dexterity. The technology first became practicable in the middle 20th century. Isolation of the diver from the environment was taken further by the development of remotely operated underwater vehicles in the late 20th century, where the operator controls the ROV from the surface, and autonomous underwater vehicles, which dispense with an operator altogether. All of these modes are still in use and each has a range of applications where it has advantages over the others, though diving bells have largely been relegated to a means of transport for surface-supplied divers. In some cases, combinations are particularly effective, such as the simultaneous use of surface orientated or saturation surface-supplied diving equipment and work or observation class remotely operated vehicles.
Although the pathophysiology of decompression sickness is not yet fully understood, decompression practice has reached a stage where the risk is fairly low, and most incidences are successfully treated by therapeutic recompression and hyperbaric oxygen therapy. Mixed breathing gases are routinely used to reduce the effects of the hyperbaric environment on ambient pressure divers.