Definition of trap

What does the word trap mean?