The story centers on Loki, who in Avengers: Endgame takes the Space Stone from another timeline. It follows his identity as the God of Mischief and a shapeshifter, as he appears across multiple periods of human history and influences historical events.