The end of the trilogy of Pirates. The main characters are
Captain Jack Sparrow (Johnny Depp), Will Turner (Orlando Bloom), and Elizabeth Swann (Keira Knightley).
Will and Elizabeth join forces with Barbossa(Geoffrey Rush) to rescue Jack from Davy Jones' Locker. Then they realize that the end of pirates is nearing, caused by Lord Cutler Beckett(Tom Hollander). They immerse in an epic battle between the quadruple and Davy Jones(Bill Nighy).
--CAUTION MAJOR SPOILERS--
Near the end of the battle, Will is fatally wounded by Davy Jones. Jack "saves his life" by letting him stab Jones' heart and making him the new captain of the Flying Dutchman.
Soon afterward, Davy Jones dies, and eventually everyone battles against Beckett. Beckett is killed, and the pirates succeed, and the EITC(East India Trading Company) flee.
The new Captain Will Turner and Elizabeth spend their one day on Shipwreck Cove before Will leaves to do his duty(rescue lost souls at sea). Will hands her the Dead Man's Chest and tells her to keep it safe. He turns away, but Elizabeth stops him and they kiss.
Will tells her to "keep a weather eye on the horizon" and he disappears. He and the ship are engulfed in the Flash of Green, and his duty begins.
Jack is then sailing for the Fountain of Youth, which is located in present-day St. Augustine, Florida.
After the credits roll, Elizabeth and her son(William as listed in an early draft of the Pirates 3 script, but as Young Will Turner in the credits played by Dominic Scott Kay) are walking on the cliff of Shipwreck Island, and they wait for Will to return.
A Flash of Green erupts in front of them, and Will returns after 10 years, seeing his wife and new son.
Pirates of the Caribbean: At World's End is an amazing movie filled with many special effects! OMG!