Same principal as putting a cup under water, turning it upside down, then lifting it almost to the top of the water. There's no air in the cup, so the water stays in it. Not something I'd ever want to do with a tank... imagine how hard water changes would be.