In the seventh Harry Potter and the Deathly Hallows, Hedwig was hit by Abada's death curse when Hagrid transferred Harry on a giant motorcycle, and Harry also shouted "Hedwig", which proved Hedwig's position in Harry's heart.
In the movie, Harry lets Hedwig go before moving, but Hedwig flies to protect Harry and stop the Death Eaters when Harry is attacked, but he is killed by the death curse. Hagrid said she was doing well. The moral of Rowling's writing this paragraph is: Hedwig's death, White's death, Harry is no longer innocent.
Hedwig is an important pet in the Harry Potter series as the messenger of Harry Potter. On the birthday of Harry Potter 1 1, Hagrid bought it for Harry as a birthday present (Harry found the name in the book "The History of Magic"). He is also Harry's best pet in the book and Harry's messenger.