Anova is used to see if the two groups (or more) are different from each other assuming the population they are drawn from is normally distributed. It allows between and within group comparison. You should read some material on it. It's pretty straightforward.