D.A.D.A. broadly focuses on preparing the student so that they may be able to—if such need arises—magically defend themselves against things pertaining to the Dark Arts. This may include: Learning how to block unfriendly spells; and learning how to defeat dark, magical beasts (like the Boggart). However, as D.A.D.A. teachers came and went at Hogwarts annually it produced inconsistent learning from year to year, as the quality, style of teaching and exact choice of subject matter (depending on what was deemed appropriate) varied widely from teacher to teacher.
It is taught to Hogwarts students from the first year to the fifth as a core class, with the option of N.E.W.T. classes in the sixth and seventh years for students who qualify.