Liquefaction takes place when loosely packed, water-logged sediments at or near the ground surface lose their strength in response to strong ground shaking. Liquefaction occurring beneath buildings and other structures can cause major damage during earthquakes.