Gas expansion occurs when a gas increases in volume due to a decrease in pressure or an increase in temperature, following the principles of thermodynamics. This phenomenon is governed by the ideal gas law, which relates pressure, volume, and temperature of a gas, and is fundamental in understanding processes like engine cycles and atmospheric behavior.