I recently had the opportunity to study some (very basic) model-theory, and that made some theorems in ring theory become immediately more interesting. For example, one characterization of the Jacobson radical of a ring $R$ makes it possible to express the formula "$x \in J(R)$" as a first-order formula in the language of rings:
$$\forall r \exists s (s(1-rx) = 1)$$
as it is known that $x \in J(R) \iff 1 - rx$ is invertible for all $r \in R$.
Similarily, the statement "every $R$-module is flat", which feels very far from first-order expressible, can be written as the sentence:
$$\forall a \exists x (a = axa)$$
as both of these statements are satisfied precisely by the von Neumann regular rings.
I am also aware of this question, which talks about a way of expressing the sentence $\dim(R) \leqslant k$ for a commutative ring $R$.
In that spirit, I was hoping for more examples (not necessarily from algebra) of seemingly "complex" statements which are equivalent to some first-order formula (or maybe a set of formulas). I would also like to know if a statement being expressible in first-order logic has any applications in situations like these.