Carol Danvers, also known as Captain Marvel, is a former United States Air Force pilot who, upon being exposed to the energy of the Tesseract via the destruction of the Light Speed Engine, obtained cosmic powers.
Real Name: Carol Danvers
Portrayed by: Brie Larson
1. Captain Marvel
She was made into a Kree (Human hybrid) via a blood transfusion from Yon-Rogg, while having her memories removed, turning her into the Kree's weapon and a member of Starforce.
During the the Kree's war with the Skrulls, Danvers returned to Earth and began recalling her past, with help from Nick Fury as well as Maria Rambeau. Danvers also discovered that Yon-Rogg had been manipulating her for years, learning from Talos that the Skrulls were merely seeking to find a new home.
With this information, Danvers unlocked her true power and defeated the Kree invasion onto Earth that was being led by Ronan the Accuser, before setting off into the far reaches of the galaxy to finish what her late mentor Mar-Vell had once started.
2. Avengers: Endgame
Spending twenty-three years journeying through the universe, Captain Marvel learned of the Snap through the distress call sent out by Fury and had joined the Avengers in an attempt to confront Thanos and reverse the damage done, managing to also rescue Tony Stark and Nebula from deep space along the way.
However, despite their first attempt at finding the Infinity Stones failing, Captain Marvel returned to Earth in 2023 when the Avengers had just succeeded with their second attempt to reverse the Snap and assisted them during their fight against Thanos and his army of Chitauri and Outriders.
Eventually, the combined efforts of Captain Marvel and all the heroes of Earth triumphed over all Thanos' forces, though Iron Man sacrificed his life, Danvers attended his funeral before going off-world.