Here's an overview of Draco Malfoy's involvement during the war:
Death Eater Inheritance:
Draco was born into a family of Death Eaters, followers of Lord Voldemort, and was raised to believe in their ideology. Although he had reservations about some aspects of Voldemort's actions, Draco was initially hesitant to oppose him openly due to his upbringing and loyalty to his family.
Participation in the Death Eater Uprising:
In the sixth book, "Harry Potter and the Half-Blood Prince," Draco is tasked by Voldemort to assassinate Albus Dumbledore, the headmaster of Hogwarts. While Draco ultimately hesitates and cannot bring himself to commit murder, he does contribute to the weakening of Dumbledore's defenses by allowing Death Eaters to enter Hogwarts.
Capture and Imprisonment:
After Dumbledore's death, Draco is captured by Harry and his friends, and they briefly hold him captive at the Burrow. However, Draco manages to escape with the help of his mother, Narcissa.
Changing Loyalties:
As the war progresses, Draco's loyalties begin to shift. He witnesses the devastating effects of Voldemort's actions and becomes disillusioned with the Death Eaters' cause. During the Battle of Hogwarts, Draco plays a crucial role in protecting Harry Potter, albeit reluctantly, and eventually chooses to stand against Voldemort and his followers.
Post-War:
After the war, Draco faces consequences for his actions, but he is ultimately given the chance to redeem himself. He undergoes a period of rehabilitation and growth, and his character develops beyond the prejudices he held earlier in the series.
In conclusion, while Draco Malfoy did not directly engage in combat on the front lines of the war, he was involved in significant events that contributed to the overall conflict, including his Death Eater upbringing, participation in the Death Eater uprising, and his eventual switch in loyalties.