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.