Deviation of light or other electromagnetic wave from a straight line as it passes through the atmosphere