Boyle's Law is a basic law in chemistry describing the behavior of a gas held at a constant temperature.
The law, discovered by Robert Boyle in 1662, states that at a fixed temperature, the volume of gas is inversely proportional to the pressure exerted by the gas.
In other words, when a gas is pumped into an enclosed space, it will shrink to fit into that space, but the pressure that the gas puts on the container will increase.
The relationship to all forms of diving is that as a person descends, the water pressure compresses the gases dissolved in our blood.
So, any diver must rise to the surface slowly, otherwise the expansion of the gases will cause a painful, and, sometimes fatal, condition known as the "bends"