After Billy Batson's parents die in a car crash, he is adopted by his step uncle Doctor Sivana.[3] Sivana's children persuade Billy he would be better off living with them rather than his Uncle Dudley, as Dudley's only income is semi-employment as a stage magician with Hoppy, his rabbit. After being adopted, Billy discovers that Sivana caused his parents' death to gain their life insurance money to fund his experiments. Billy runs away to a magic subway where he meets an elderly man who reveals himself to be a wizard named Shazam. Shazam informs Billy he has been given magic powers to fight Black Adam and other forces of evil.
Billy decides to use his powers to leave San Francisco where he lives to find his Uncle Dudley who now lives in Alberta, Canada.
Meanwhile, Sivana has used his machine to unleash Black Adam. They join forces to take over the world. Black Adam's first deed is to kidnap an airplane full of passengers. Captain Marvel fights him, leading Black Adam to bury the plane into the sea.
Captain Marvel ultimately tricks Black Adam into activating Dr. Sivana's machine to send him back to the Netherrealm and rescues the hostages.
Dr. Sivana's evil schemes are revealed and he becomes a fugitive from the FBI, fleeing to Mexico. As he drinks in a bar and muses about how he needs a better partner, there is a close-up of the worm at the bottom of Sivana's tequila bottle.
Billy is then raised by his Uncle Dudley and gets a job working in radio as a news reporter.