Using cake as an analogy, this research explains how buried sandstones can store naturally heated water for geothermal energy. By studying rock outcrops, cores, and microscopic structures, the work assesses sandstone quality to unlock reliable, renewable heat for buildings—available year-round as a low-carbon energy source.