First of all, apologies if this is a bad question. I don't really know how to phrase it.
I first got introduced to $\pi$ in elementary school, where it was presented as a ratio for a circle's area. I thought it was some special number that had to do with circles. You can imagine my confusion when I found it popping up in stuff that seemingly had nothing to do with circles, like in the Wallis formula or the Basel Problem. Same with $e$. I thought it was this financial growth thing, so I got pretty confused when it showed up in stuff like the Probability Distribution, and Euler's identity. Right now, they seem like two magic numbers with magical properties - same thing with $\cos$ and $\sin$ - magical equations that give you ratios of lengths.
Could someone explain what the heck exactly is the significance of $e$ and $\pi$? Beyond circles, beyond geometry. Because they certainly seem to be more than just that.
I would recommend you read the article on wikipedia about the definition of $\pi$. It is suggested to start from the cosine function, which can be defined as a series or a differential equation. The reason is that usually in calculus you learn series and derivatives before integral. If you have this notions, then one can derive the circumference of the circle by integration, so $\pi$ as defined in antiquity is a consequence of a calculation performed 3000 years later. Similar with $e$, if you start with either the Taylor series representation or the basic definition that $\frac{de^x}{dx}=e^x$, you can then derive all properties you described in your question.