You can abstractly characterize the coordinate rings $A$ of (irreducible) affine varieties over a field $k$ as finitely-generated integral domains over $k$. This definition doesn't require that you pick a choice of generators, only that some finite generating set exists; such a choice of generators is equivalent to the choice of a surjection $k[x_1, ... x_n] \to A$
which in fact is equivalent to the choice of an embedding of $\text{Spec } A$ into affine space $\mathbb{A}^n$.
This flexibility is convenient when you want to construct new varieties out of old varieties. For example, let $A$ be the coordinate ring of some affine variety and $G$ a finite group which acts on the variety by algebraic maps. Then it acts on $A$ by algebra homomorphisms. The invariant subalgebra $A^G = \{ a \in A : \forall g \in G, ga = a \}$
is known to be finitely-generated, but it doesn't come with a distinguished set of generators, so it defines an affine variety $\text{Spec } A^G$ which models the quotient $(\text{Spec } A)/G$ and which doesn't come with a preferred embedding into affine space even if $A$ does.