👉 In mathematics, a trap is an object that can be reached from outside but cannot escape. In other words, it's a closed container or chamber where objects are trapped and unable to leave.
A trap can exist in many different contexts including:
1.
Cave
: A cave system is a type of trap where one or more obstacles block the way out. The goal is to find a way through the cave and reach safety.
2.
Maze
: A maze is a trap that prevents