What does ‘piece’ mean?

( n ) A gun. I hope you aren’t carrying a piece.
( n ) Female genitalia. [Use your imagination].
( n ) Girl (offensive). She is a pretty piece, don’t you think?