Stack effect is the movement of air into and out of buildings and is driven by the difference in buoyancy of warm and cool air. The greater the temperature difference and the height of the structure, the greater the buoyancy force and thus the stack effect.