Thanks for playing. The doors are the checkpoint. So if you die the player respawns from the last exited door instead of restarting the game.