The reason $e^x$ is called the natural exponential function and $\ln x= \log_e x$ is called the natural logarithm is that they occur naturally as you develop calculus. For example, you can prove from definition that for any function $f(x)=a^x$ where $a>0$, the derivative $f'(x)$ is given by
$$
f'(x)=a^x\cdot\lim_{h\to 0}{\frac{a^h-1}{h}}=a^x\cdot C_a,
$$
where $C_a$ is some constant depending on $a$, but independent of $x$. It is also pretty easy to see that if $0<a<b$, then $C_a<C_b$, and that $C_1=0$.
Naturally, you would prefer not to have to lug this constant around in all your calculations involving the exponential function, nor to have an extra factor appear every time you differentiate such a function. In other words, you would like to find some constant $e$ for which $C_e=1$.
After some more calculations involving the chain rule and the inverse function, it can be shown that $(\ln x)'=\frac{1}{x}$, and since by the change-of-base formula we have $\log_a x=\frac{\ln x}{\ln a}$, it turns out that $(\log_a x)'=\frac{1}{x\ln a}$, and from that using the derivative of the inverse function again, we conclude that $(a^x)'=a^x\ln a$. And thus we need the number $e$ pretty much everywhere in calculus.
At the same time, thinking about the continuously compounded interest problem, one can show that all such problems can be reduced to \$1 continuously compounded at 100% nominal annual interest. The amount you get from this is $\lim_{n\to\infty}\left(1+\frac{1}{n}\right)^n$.
It can be proved using the AM-GM inequality and the forward-backward induction that the sequence $a_n=\left(1+\frac{1}{n}\right)^n$ is increasing, while the sequence $b_n=\left(1+\frac{1}{n}\right)^{n+1}$ is decreasing, which means (since $b_n=\left(1+\frac{1}{n}\right)a_n>a_n$ for every $n$) that both sequences are bounded by $a_1=2$ from below and $b_1=4$ from above, and thus both sequences converge, and to the same limit. It can be shown (see one of the other answers here) that this limit is the same number $e$ as the one we naturally needed for differentiation of exponential functions.
So, "why is it defined this way?" Because we need it in so many places, not for any cruel or unusual purposes. Both $e$ and $\pi$ are complicated numbers, but it's a trade-off for all the nice properties they have.
Why is it defined this way?
Presumably, you showed (or were shown) that the limit exists. Then its value was defined as $,e,$. In that case, it's just the definition of $,e,$. I guess I don't understand thewhy
part of the question. Compare to "why was $\pi$ defined as the ratio of the circumference to the diameter". – dxiv Feb 05 '18 at 06:12