A ground proximity warning system is a system designed to alert pilots if their aircraft is in immediate danger of flying into the ground or an obstacle. From Wikipedia
The Airbus A320 came dangerously close to a mountain during its descent, triggering a safety alarm and prompting an ongoing investigation.