Exponent of a group

The smallest positive integer $n$ such that in the given group the identity $x^n=1$ holds.