The smoke is trapped in the bottle, and the reduced oxygen will extinguish the cigarette. I should mention that you shouldn't be either buying stuff in plastic bottles, or smoking. But just in case you do.
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.