How do I a save the WHOLE level to a slot and load the slot later it later?

I’ve seen multiple tutorials saying you need to save the players variables to the save game and when the game is loaded again the player will have all his/her stats, but how do I save the whole level the player was on (enemies, items, actors that were spawned by the player etc)?