die Grube
pit
A deep hole dug into the ground, for example for construction work, waste disposal, or as a grave.
Für das Fundament des neuen Hauses wurde eine riesige Grube ausgehoben.
A huge pit was dug for the foundation of the new house.

pit / mine
Loading your saved state.
pit
A deep hole dug into the ground, for example for construction work, waste disposal, or as a grave.
Für das Fundament des neuen Hauses wurde eine riesige Grube ausgehoben.
A huge pit was dug for the foundation of the new house.

To distinguish the meanings: If it is about construction work, gardens, or holes in the ground, it means an earth pit (m01). If mining, coal, or workers underground are being discussed, it means a mine (m02).
Die Bauarbeiter hoben eine tiefe Grube für den Keller aus.
The construction workers dug a deep pit for the basement.
When 'Grube' means a hole in the ground, the most common verbs are 'eine Grube graben' (to dig a pit) or 'eine Grube ausheben' (to dig/excavate a pit).
Die Kinder graben im Sandkasten eine Grube.
The children are digging a pit in the sandbox.
In the meaning 'Bergwerk' (mine), the preposition 'in' with the dative is often used to describe the workplace. A typical phrase is 'in der Grube arbeiten' (to work in the mine).
Die Arbeit in der Grube war gefährlich und hart.
The work in the mine was dangerous and hard.
The idiom 'jemandem eine Grube graben' (to dig a pit for someone) is fixed. The person you want to harm is always in the dative.
Sie hat versucht, mir eine Grube zu graben, aber es hat nicht funktioniert.
She tried to dig a pit for me, but it didn't work.
The idiom 'mit einem Bein in der Grube stehen' (to have one foot in the grave) means that someone is old or very ill and close to death. The phrase is figurative and fixed.
Mein Urgroßvater ist 98, er sagt immer, er steht schon mit einem Bein in der Grube.
My great-grandfather is 98; he always says he already has one foot in the grave.
trap
'Falle' and 'Grube' can both have to do with a dangerous situation that someone gets into. A 'Falle' is something used to catch an animal or deceive someone. It can be a device, but also a plan. A 'Grube' is first of all a deep hole in the ground. Figuratively, a 'Grube' can also mean that someone wants to secretly harm another person. Learners may confuse the words because a pit can be used as a trap. The difference is: 'Grube' describes the hole more, while 'Falle' describes the purpose or the plan.

Auf der Baustelle fiel ein Arbeiter fast in eine tiefe Grube.
At the construction site, a worker almost fell into a deep pit.
Die Polizei merkte schnell, dass der Anruf eine Falle war.
The police quickly realized that the call was a trap.