For this demonstration we used a birthday candle mounted in a glass bowl. To get the candle to stand up I melted the bottom to leave a small puddle of wax and then pressed the candle into it. Then I filled the bowl about half-way with water.
It is no surprise that the candle goes out. You can also see the condensation of water vapor (another by product of combustion) by the fog on the inside of the glass. What may be surprising is what happens afterward.