Why not run many t-tests?
If you have three or more groups, repeatedly testing every pair at the same nominal significance level increases the chance of at least one false positive across the collection of tests. One-way ANOVA provides a single overall test of the hypothesis that all group means are equal.
ANOVA does not mean 'analysis without effect sizes'. You should still describe group means, uncertainty and the magnitude of differences that matter.
The logic of the F-statistic
ANOVA decomposes variability into variation associated with differences between group means and residual variation within groups. The F-statistic is a ratio of mean-square quantities derived from these sources.
If the group means are very similar relative to the variability within groups, the F-statistic tends to be closer to one. Larger ratios provide evidence against the model in which all group means are equal.
What happens after the overall test
If the overall test suggests that not all means are equal, you still need a principled way to identify the differences of interest. Pre-specified contrasts can test scientifically meaningful comparisons. Post-hoc procedures such as Tukey's method can control family-wise error when exploring many pairwise comparisons.
Do not let the post-hoc menu replace the research question. A small number of planned contrasts is often clearer than testing every possible pair.
ANOVA and regression are close relatives
A one-way ANOVA can be represented as a linear regression with a categorical predictor coded using indicator variables. This connection becomes useful when you later add continuous covariates, interactions or more complex designs.
