Boyle's law states that the pressure and volume of a gas are inversely proportional if temperature is held constant. It describes how gas pressure increases as its volume decreases. Mathematically, it can be expressed as PV=k, where P is pressure, V is volume, and k is a constant. The law was discovered by scientist Robert Boyle in 1662 and is often used to explain lung function during breathing.