In the film, Hedwig isn't cooped up in her cage during the battle - she's flying free when Voldemort and the Death Eaters attack, ultimately sacrificing herself to protect Harry from a Killing Curse.
J.K. Rowling has stated before that she killed off Hedwig because her death was meant to represent the loss of innocence as Harry grew up and into adulthood (and stared down some Death Eaters). Her death happens during the Battle of Seven Potters in Deathly Hallows as the group is leaving Privet Drive.
In the film adaptation of Harry Potter and the Deathly Hallows, Hedwig dies when she tries to protect Harry and Hagrid from the Death Eater's attacks, being hit with a killing curse and her lifeless body spiraled down to the ground and all Harry could do was watch in grief.
In the book, Hedwig was killed as she sat in her cage by Harry's side – as she had so many times before – as they attempted to escape on the back of Hagrid's motorcycle. In the film, the scene was made even more heartbreaking, as Hedwig was killed while attempting to protect Harry from Death Eaters.
She and Harry were mad at each other before she died, and Harry was so distraught by it, and the poor thing screeched and fell to the bottom of the cage like a stuffed animal.
Many characters die in Harry Potter, but the series' most important deaths are arguably Lily and James Potter, Harry's parents. The couple perishes at Voldemort's hands, with Lily's sacrifice protecting Harry and tying his fate to the Dark Lord's.
In her estimation, in an attempt to protect the true Harry's identity, Snape sacrifices Hedwig, thus keeping the other Death Eaters off his scent albeit for only a short time.
It is revealed that The Order of the Phoenix was betrayed by Kreacher, Sirius Black's house elf, when Sirius, in a fit of anger, gave Kreacher an order that permitted him to speak to Sirius' cousin, Narcissa Malfoy.
Real snowy owls were used in the Harry Potter films
However, while special effects were used in some owl moments in the Potter films, Harry's friend Hedwig was played by a number of real snowy owls. We even know these performers' names: Gizmo, Kasper, Oops, Swoops, Oh Oh, Elmo and Bandit.
According to legend, she went barefoot even in winter, and when she was urged by the Bishop of Wrocław to wear shoes, she carried them in her hands. On 15 October 1243, Hedwig died and was buried in Trzebnica Abbey with her husband, while relics of her are preserved at Andechs Abbey and St.
Fletcher, however, Disapparated immediately upon seeing the danger and Moody was killed by a Killing Curse sent by Voldemort for Fletcher (whom he believed to be the real Harry Potter).
Myrtle (b. 1929 – 13 June, 1943), more commonly known as "Moaning Myrtle", was a Muggle-born witch who attended Hogwarts School of Witchcraft and Wizardry from 1940 – 1943 and was sorted into Ravenclaw house. She was killed in 1943 by Salazar Slytherin's Basilisk, under Lord Voldemort's (Tom Riddle) orders.
People know Hedwig is Harry's owl and she was attacked before, he might keep her in the cage so that she won't attacked or stolen by anyone(his enemies), until he got to somewhere safer.
In 1998, Fred participated in the Battle of Hogwarts, defending the castle's passageways with his twin. While fighting alongside his brother, Percy, he was killed in an explosion possibly caused by Death Eater Augustus Rookwood.
"Hagrid is one of Voldemort's oldest associates, and knows his true identity" In Chamber of Secrets, it is revealed that Hagrid had been a student at Hogwarts during the same period that Tom Riddle (the true identity of Lord Voldemort) also frequented the school.
Crookshanks was purchased on 31 August 1993 by Hermione Granger from the Magical Menagerie, who had originally gone there seeking an owl. The proprietor informed Hermione that he had been there for quite some time, and that "nobody wanted him".
Hermione is portrayed during the whole series as an exceptionally talented young witch. J.K. Rowling has said that Hermione is a "borderline genius." She got ten O.W.L.s, which were nine Outstanding and one Exceeds Expectations.
Seven different owls played the role of Hedwig. Their names are Gizmo, Kasper, Oops, Swoops, Oh Oh, Elmo and Bandit.
Harry describes Umbridge to Sirius Black, saying that she's vile enough to be a Death Eater, despite not being one. Umbridge is also depicted to be a prejudiced person, despising half-breeds and Muggle-born witches and wizards to the point of firing Hagrid due to his half-giant birth status.
Her name is Dolores Umbridge. She is supposed to teach Defense Against the Dark Arts. She is really a mole from the Ministry of Magic, which is in a state of denial about Voldemort's return and determined to get rid of Headmaster Dumbledore.
The seven Potters are Harry himself, Hermione Granger, Ron Weasley, Fred Weasley, George Weasley, Fleur Delacour, and Mundungus Fletcher.
The bond between Harry and Hedwig was so strong that she even accompanied him during the Battle of the Seven Potters, and died when struck by the killing curse – in the book, she was in her cage, while in Harry Potter and the Deathly Hallows – Part 1, she flew directly at the face of a Death Eater to protect Harry and ...
Fred is the only member of the Weasley family who dies, and plays a factor in his mother's duel with Bellatrix Lestrange. There are only two mentions of George after this.
When Moody was killed by Lord Voldemort during the Battle of the Seven Potters, Harry was devastated by his death, as were the other Order of the Phoenix members.