In a gravity theory in spacetime, the metric has signature $− + +· · ·+$. Concretely this means that the metric tensor $g_{μν}$ may be diagonalized by an orthogonal transformation, i.e. $$(O^{-1})_{μ}^{\;a} = O^a_{\;μ}$$and $$g_{μν} = O^a_{\;μ}D_{ab}O^b_{\;ν}$$ with positive eigenvalues $λ^a$ in $D_{ab} = \textrm{diag}(−λ_0, λ_1, . . . , λ_{D−1})$.
The construction above, which involved only matrix linear algebra, allows us to define an important auxiliary quantity in a theory of gravity, namely $$e^a_μ(x) ≡\sqrt{λ^a(x)}O^a_μ(x).$$ Using this tetrad we can write $g_{μν}(x) = e^a_ μ(x)η_{ab}e^b_ν (x)$ , In the bold above:
Why would this mean that the metric tensor may be diagonalize by an orthonormal transformation?
What is meant by diagonalization here (mathematically)?