These identities are best thought of as consequences of the angle-sum identities. For example, we know that
$$
\sin(A+B) = \sin(A)\cos(B) + \cos(A) \sin(B).
$$
This formula can be proven either using the identities
$$
\cos(z) = \frac{e^{iz} + e^{-iz}}{2}, \quad \sin(z) = \frac{e^{iz} - e^{-iz}}{2i}
$$
that others have referred to, or using the geometric proof indicated by the first image in the section linked above (though the fact that this identity can simply be extended to complex arguments does require some justification). Once that first formula is established, setting $A = B = z$ yields
$$
\sin(2z) = \sin(z+z) = \sin(z)\cos(z) + \cos(z) \sin(z) = 2 \sin(z) \cos(z).
$$
These identities are best thought of as consequences of the angle-sum identities. For example, we know that $$ \sin(A+B) = \sin(A)\cos(B) + \cos(A) \sin(B). $$ This formula can be proven either using the identities $$ \cos(z) = \frac{e^{iz} + e^{-iz}}{2}, \quad \sin(z) = \frac{e^{iz} - e^{-iz}}{2i} $$ that others have referred to, or using the geometric proof indicated by the first image in the section linked above (though the fact that this identity can simply be extended to complex arguments does require some justification). Once that first formula is established, setting $A = B = z$ yields $$ \sin(2z) = \sin(z+z) = \sin(z)\cos(z) + \cos(z) \sin(z) = 2 \sin(z) \cos(z). $$