What is entrapment?

If person "X" places a want ad for cannabis on the web and person "Y" responds to the ad. But Person "X" is Leo. Can person "Y" be prosecuted for selling? Would that be called entrapment? Could person "Y" still go to jail?
I thought Leo couldn't be the one to initiate the transfer. But if you asked Leo for durgs then he could prosecute you.. is that right?

Kinda confused cuz I saw an episode of cops where they had this fine ass cop pretending to be a hooker waiving down johns in SF. Once the john's agreed they got arrested. I thought Leo couldn't do that??!!!
Read Reviewed by Read on . Entrapment? Any Lawyers out there? What is entrapment? If person "X" places a want ad for cannabis on the web and person "Y" responds to the ad. But Person "X" is Leo. Can person "Y" be prosecuted for selling? Would that be called entrapment? Could person "Y" still go to jail? I thought Leo couldn't be the one to initiate the transfer. But if you asked Leo for durgs then he could prosecute you.. is that right? Kinda confused cuz I saw an episode of cops where they had this fine ass cop pretending to be a hooker waiving Rating: 5