I'm trying to understand $$e^{it}=\cos(t)+i\sin(t)$$ This comes from the definitions $$\cos(t)=\frac12(e^{it}+e^{-it}) \quad\text{and}\quad \sin(t)=\frac1{2i}(e^{it}-e^{-it})$$ and those are consistent with the power series definitions of $\cos$ and $\sin$, which are their Taylor series $$\sum_{k=0}^{\infty}{\frac{(-1)^k z^{2k}}{(2k)!}} \quad\text{and}\quad \sum_{k=0}^{\infty}{\frac {(-1)^k z^{2k+1}} {(2k+1)!}}$$ respectively.
I see all those things. They make sense and are consistent with each other, but I can't believe that $e$ and cosine and sine are so related coincidentally.
The Euler formula $e^{iz}=\cos(z)+i\sin(z)$, $z \in \mathbb{C}$, can be shown by using the exponential series along with the series you wrote for sin and cos:
We have $e^{iz}=\sum_{k=0}^{\infty}{\frac{(iz)^{k}}{k!}} = \sum_{k=0}^{\infty}{\frac{(iz)^{2k}}{(2k)!}}+\sum_{k=0}^{\infty}{\frac {(iz)^{2k+1}} {(2k+1)!}} = \cos(z)+i\sin(z)$ using the fact that for convergent $\sum{a_k}$ and $\sum{b_k}$ we have that $\sum{a_k+b_k}$ converges to $\sum{a_k}+ \sum{b_k}$ and the fact that $i^{2k}=(-1)^k$ as well as $i^{2k+1} = i (-1)^k$.