Two-way ANOVA is used to determine if there are any differences between the means of at least two (but usually three or more) independent groups based on two categorical independent variables.
Like one-way ANOVA, it’s a test for equality of means that uses variances under the hood for inference.
All ANOVAs are omnibus tests. If the test is significant, we know that at least one group is different from the others, but NOT which groups are different.