I know that a solution for this question exists on SE, I have seen it, but it doesn’t satisfy my query. I couldn’t understand the solution.
Here is an excerpt from one of the answers
$$z = e^{e^{i \theta} }$$
$$\implies z=e^{\cos \theta +i\sin \theta }$$
$$\implies z=e^{\cos \theta} e^{i\sin \theta }$$
$$\implies z=e^{\cos \theta}(\cos (\sin\theta) +i\sin(\sin \theta))$$
I didn’t understand the last line of the answer. Up to the third line, everything is clear.
By Euler's identity we have
$$ e^{i\sin \theta }=\cos (\sin \theta)+i\sin(\sin\theta)$$