It's the same principle as a gravity bong.