ANOVA isn't a model --- it is a method within a model
The analysis of variance (ANOVA) is a method that occurs within regression models. The technique is based on the law of iterated variance. Suppose you have some regression model:
$$Y_i = f(\mathbf{x}_i, \theta) + \varepsilon_i
\quad \quad \quad
\varepsilon_1,...,\varepsilon_n \sim \text{IID Dist}(0, \sigma^2).$$
Using the law of iterated variance we can write the marginal variance of $Y_i$ as:
$$\begin{equation} \begin{aligned}
\mathbb{V}(Y_i)
&= \mathbb{V}(\mathbb{E}(Y_i|\mathbf{X}_i)) + \mathbb{E}(\mathbb{V}(Y_i|\mathbf{X}_i)) \\[6pt]
&= \mathbb{V}(f(\mathbf{X}_i, \theta)) + \mathbb{E}(\varepsilon_i) \\[6pt]
&= \mathbb{V}(f(\mathbf{X}_i, \theta)) + \sigma^2. \\[6pt]
\end{aligned} \end{equation}$$
Now, if the explanatory vector does not have a relationship with the response variable then the regression function does not depend on the explanatory vector, and so $\mathbb{V}(f(\mathbf{X}_i, \theta)) = 0$, which implies $\mathbb{V}(Y_i) = \sigma^2$. On the other hand, if the explanatory vector does have a relationship with the response variable, then we will generally have $\mathbb{V}(f(\mathbf{X}_i, \theta)) > 0$, which implies $\mathbb{V}(Y_i) > \sigma^2$. Thus, generally speaking, a larger gap between the estimated variance of the response variable, and the estimated variance of the error term, constitutes evidence in favour of the hypothesis that there is a relationship between the explanatory vector and the response variable.
This is the basic insight that underlies ANOVA. It is used to construct formal ANOVA tests to determine whether or not there is evidence of a relationship between the explanatory vector and the response variable. By conditioning on parts of the explanatory vector, this basic method can also be used to test for a relationship between particular subsets of explanatory variables and the response variable. In summary, ANOVA is a particular method that is used within the context of regression analysis to test for relationships between variables.