The film picks up where Avengers: Age of Ultron (2015) and Captain America: Civil War (2016) left off. Thanos (Josh Brolin), an intergalactic supervillain, is on a quest to collect all six Infinity Stones, which would grant him unimaginable power to balance the universe by wiping out half of all life. The Avengers and their allies, including the Guardians of the Galaxy, must band together to stop Thanos and save the universe from destruction.