The idea of quantum foam arises out of Einstein's idea that gravity is caused by the warping and curving of spacetime