A sentence is a formula with no free variables.
Simple examples include:
$$\forall x\exists y [x<y]$$
or
$$\exists z [z+7-43=0]$$
However the following formula is not a sentence:
$$x+2=3$$