The central twist of "Harry Potter and the Prisoner of Azkaban" is the complete reversal of the roles of hero and villain. Sirius Black, believed to be a loyal follower of Voldemort who betrayed Harry's parents and is now hunting Harry, is revealed to be innocent. He is Harry's godfather and was James Potter's best friend. The true traitor is Peter Pettigrew, another friend of the Potters, who has been hiding for twelve years in his Animagus form as Ron's pet rat, Scabbers. It was Pettigrew who led Voldemort to the Potters and framed Sirius for his own crimes.
Professor Lupin is also revealed to be a werewolf, which explains his mysterious absences and deep understanding of dark creatures. He, along with James Potter, Sirius Black, and Peter Pettigrew, were the creators of the Marauder's Map, with the nicknames Moony, Prongs, Padfoot, and Wormtail, respectively. This revelation re-contextualizes the entire history Harry thought he knew about his parents and their friends. The film's climax involves Harry and Hermione using a Time-Turner to go back in time. It is here that the final major reveal occurs: the powerful Patronus that saved Harry and Sirius from the Dementors was not cast by Harry's deceased father, as he initially believed, but by Harry himself. This discovery is a critical moment of self-realization and empowerment for Harry, proving he has the strength of his father within him.