Some of the formulas of calculus will be greatly simplified if we choose the base $a$ so that the slope of the tangent line to $y=a^x$ at $(0,1)$ is exactly $1$. In fact, there is such a number and it is denoted by the letter $e$. (This notation was chosen by the Swiss mathematician Leonhard Euler in 1727, probably because it is the first letter of the word "exponential".) It comes as no surprise that the number $e$ lies between $2$ and $3$ and the graph of $y=e^x$ lies between the graphs of $y=2^x$ and $y=3^x$. The value of $e$, correct to five decimal places, is $$e\simeq 2.71828$$ We call the function $f(x)=e^x$ the natural exponential function comparison between the basis
My question is: is this choice of the function $x\mapsto e^x$ linked to the fact that $e$ is also a limit of the following numerical sequence $$\left(1+\frac{1}{n}\right)^n$$ and if so how?
Yes, in fact $$\lim_{n\to \infty }\left(1+\frac{x}{n}\right)^n = e^x$$
Thus there is a strong connection between $e^x$ and $\left(1+\frac{1}{n}\right)^n$