If $2^x=0$, find $x$.
Solution 1:
Yes. You are right, there is no $x \in \mathbb{R}$ such that $2^x = 0$. However, note that $$\lim_{x \to -\infty} 2^x = 0$$ However, on the extended real line, i.e., $\mathbb{R} \cup \{-\infty\} \cup \{\infty\}$, there exists a solution, since one of the ways of defining "$2^{-\infty}$" on the extended real line is to define "$2^{-\infty}$" as the limit of $\lim_{x \to -\infty} 2^x$, which is $0$.
Solution 2:
Let $x$ be a real number $x>0$, and consider $w=2^x$ and $z=2^{-x}$. Then $wz=1$. But then neither of them can be $0$, since in either case we would reach the absurdity that $0=1$. Thus, by symmetry, and since $2^0=1$, we see that $2^x\neq 0$ for each $x\in \Bbb R$, that is, $2^x=0$ is unsolvable in $\Bbb R$. The very same proof applies when $z\in\Bbb C$.
The fact that "the range of the function $2^x$ is $(0,+\infty)$" is true because of the above, and not conversely. It is true we may define $2^x=0$ when $x=-\infty$ to extend $2^x$ continuously to $\Bbb R^*=\Bbb R\cup\{-\infty,+\infty\}$, but there is not much more to it than that.