Definition of trap:
a machine or other device designed to catch (and sometimes kill) animals, either by holding them in a container, or by catching hold of part of the body; a trick or arrangement designed to catch someone in a more general sense
"I put down some traps in my apartment to try and deal with the mouse problem."
to catch in a trap or traps; as, to trap foxes; to ensnare
; to take by stratagem; to entrap
of or pertaining to trap rock; as, a trap dike