$\exp:x\mapsto \sum\limits_{n=0}^{+\infty}\cfrac{1}{n!}x^n$
$\cos:x\mapsto \Re\left(\exp \left(i x\right)\right)=\sum\limits_{n=0}^{+\infty}\cfrac{\left(-1\right)^n}{\left(2n\right)!}x^{2n}$
$\sin:x\mapsto \Im\left(\exp \left(i x\right)\right)=\sum\limits_{n=0}^{+\infty}\cfrac{\left(-1\right)^n}{\left(2n+1\right)!}x^{2n+1}$
I've never really learned how these functions were constructed. I learned a lot of things with their differential equation (for $\exp$) or unit circle (for $\cos$ and $\sin$) definition and then when I learned about series, the teacher just said "we could use those series as definitions and find all the properties you know about those functions but we don't have enough time" but we still did some as exercises on series.
I do get how we get most of the properties: mostly Cauchy products and a few other things. But one thing I do not get is how we find the specific values.
For example, $\sin(\pi)=0$ or maybe this is used as a definition for $\pi$. But then how do you find $\sin\left(\cfrac{\pi}{2}\right)=1$? And how do we even prove there is such a number $\pi$?