I am not sure if you are misreading the expression, or just mistyped it, but the exponent on the $2$ is not $\log_2^3$ (which doesn't mean anything) but rather $\log_2 3$. As for why $2 = 2^{\log_2 3}$, this is a case of a general identity:
$$b^{\log_b x} = x$$
for any $x>0$ and any base $b>0$.
As for why this identity is true: The function $f(x) = \log_b x$ and $g(x) = b^x$ are inverse functions. (Indeed, that's usually how the logarithm function is defined, as the inverse of the exponential function.) That means that $f(g(x)) = x$ and $g(f(x))=x$. The first one of these equations says exactly that $b^{\log_b x} = x$.
Here's an informal way of explaining it that might help you understand better:
The expression $\log_2 3$ can be thought of as the answer to the question "What power do you raise $2$ to, if you want to get $3$?" The expression $2^{\log_2 3}$ means "raise 2 to the power that, if you raised $2$ to it, would produce $3$." When you say it that way, it should be obvious that the result is $3$.
If it's still confusing, try it again with different numbers, like $10$ and $1000$. Then $\log_{10} 1000$ means "find the exponent which, when $10$ is raised to it, produces $1000$." The answer to this is $3$. Now $10^{\log_{10} 1000}$ means "Raise $10$ to the $3$rd power", which produces $1000$, of course. So $10^{\log_{10} 1000} = 1000$.