It has to do with extending exponentiation to rational number exponents using various properties of multiplying powers and powering powers.
We know that for positive real $r$,
$$(r^a)^b=r^{ab}$$
Without loss of generality, let $z$ be an integer.
Using the law of powers of powers.
$$(r^{1/z})^z=r^{1z/z}=r^1=r$$
Taking the ($z$)th root of the equation above.
$$r^{1/z}=\sqrt[z]r$$
Let $z_1$ and $z_2$ be integers.
$$(r^{1/z_1})^{z_2}=r^{z_2/z_1}$$
As such, we can well-define arbitrary rational exponents for positive reals. A positive real raised to an arbitrary rational power has exactly one positive real value for each rational number.
And because all real numbers are arbitrarily approximated by rational numbers and can be ordered among the rational numbers, arbitrary real powers can likewise be approximated. We can define $\pi^{\pi}$ and even conclude it is between $\pi^{3.141}$ and $\pi^{3.142}$.
Going beyond positive real bases involves $i^2=-1$, natural logarithms, natural antilogs, and trigonometry.