Good Characters:
* Fred Weasley: Killed by a curse from Augustus Rookwood during the Battle of Hogwarts.
* Remus Lupin: Killed by a werewolf named Fenrir Greyback during the Battle of Hogwarts.
* Nymphadora Tonks: Killed by Bellatrix Lestrange during the Battle of Hogwarts.
* Colin Creevey: Killed by Death Eaters during the Battle of Hogwarts.
* Lavender Brown: Killed by Fenrir Greyback during the Battle of Hogwarts.
* Hedwig: Killed by a Death Eater curse during the escape from Privet Drive.
* Dobby: Killed by a magical blade wielded by Bellatrix Lestrange while saving Harry from the Malfoy Manor.
Bad Characters:
* Bellatrix Lestrange: Killed by Molly Weasley during the Battle of Hogwarts.
* Lord Voldemort: Killed by his own rebounding curse, the Avada Kedavra.
* Severus Snape: Dies from a curse from Nagini, Voldemort's snake, shortly after killing Dumbledore.
* Fenrir Greyback: His fate is unclear. It is believed that he is likely killed or captured during the battle.
* Peter Pettigrew: Killed by his own silver hand when he tries to strangle Harry.
* Nagini: Killed by Neville Longbottom with Gryffindor's sword.
Important Note: This is a complete list of characters who are confirmed dead in the book. It's important to remember that J.K. Rowling has said that many more characters likely died in the Battle of Hogwarts, but their deaths weren't explicitly mentioned.