Usually said to someone when it appears that they have a boner.
Said to embarass/draw attention to said person
Banana can be replaced with a multitude of things, i.e cucumber, pencil, roll of quarters, mint container, etc.
Guy 1: *walks into room*
Guy 2: Hey is that a banana in your pocket or are you just happy to see me?
Guy 1: *looks down*