Question: are loki and gamora dead?
Answer: While Loki, Black Widow, and Gamora all died in the prime timeline, other versions of these characters existed in alternate timelines that were created when the Avengers time-traveled into the past to retrieve the Infinity Stones.