Traps are dungeon features which appear on the floor of the dungeon, invisible until triggered. Any creature, character or pet walking over the trap has a chance (100%?) to trigger the trap. Traps have a limited number of charges, and will become dark holes in the floor when exhausted of charges.
Traps can usually be avoided by jumping over them. Levitating over a trap will prevent it from triggering as well.