game worlds

How do games store worlds that huge?

Games like Minecraft, Noita, and Deep Rock Galactic can have huge or highly detailed worlds. Are they saving every part of the world, or generating it as you…