One-way has one independent variable (with 2 levels). The one-way ANOVA compares the means between the groups you are interested in and determines whether any of those means are statistically significantly different from each other. Specifically, it tests the null hypothesis.
H0: µ1= µ2 = µ3 =…= µk
µ = group means
k = number of groups.
Example: You have a group of individuals randomly split into smaller groups and completing different tasks. For example, you might be studying the effects of tea on weight loss and form three groups: green tea, black tea, and no tea.