Let $X,Y$ Noetherian integral schemes and assume we have an immersion
$$i:X \to Y$$
An immersion is according to https://stacks.math.columbia.edu/tag/01IO a composition of a closed immersion $c: X \to Z$ by an open immersion $o:Z \to Y$. So in our situation there exist an open subscheme $Z$ of $ Y$ such that $X \cong c(X)$ is a closed subscheme of $Z$.
My question is if and why the image $i(X)$ is open in $X' := \overline{i(X)} \subset Y$?
The background of my question is that I read often that in situations as above if one wants to show some topological properties of $X$ one reduces the problem to closed immersion $X' \subset Y$.