For a rational $x = \frac{p}{q}$ where $p,q$ are integers and $q \neq 0$, $e^x$ can be defined in an algebraic way as follows: multiply $e$ repeatedly $p$ times and take the $q$-th root of the product.
On the other hand, $e^x$ is defined as sum of the following infinite series (which exists for all $x \in \mathbb{R}$)
$$e^x = 1 + \frac{x}{1!}+ \frac{x^2}{2!}+ \ldots$$.
I am interested to know if there is an intuition as to why these two definitions match at $x \in \mathbb{Q}$!!
There is also the following equivalent definition of $e^x$ $$e^x = \lim_{n \rightarrow \infty}\big(1 + \frac{x}{n}\big)^n$$.
Any intuition as to why these two definition match with the algebraic definition fo $e^x$ at rational points will be appreciated :)