Does a homeomorphism between two topological spaces need to map clopen sets to clopen sets?
For example consider the Baker‘s map $$ (x,y)\mapsto (2x mod 1, 1/2(y+\lfloor 2x\rfloor)) $$ $B\colon X\to X$ on $X=[0,1]\times [0,1]$ with the standard topology, as well as the space shift-map $\sigma\colon Y\to Y$ with $Y=\{0,1\}^{\mathbb{Z}}$ equipped with the product topology.
Then the map $\varphi\colon Y\to X$ defined by
$$ (\ldots,s_{-2},s_{-1},s_0,s_1,s_2,\ldots)\mapsto (x,y)=(\sum_{i=0}^\infty \frac{s_i}{2^{i+1}},\sum_{i=1}^{\infty}\frac{s{-i}}{2^i}) $$
is a homeomorphism.
Now what is the image of a cylinder set, i.e. a set $$ C_{a_1,…,a_k}^{n_1,…,n_k}=\{(s_i)\in Y: s_{n_j}=a_j: j=1,…,k \} $$
Such cylinder sets are clopen but its Image cannot be clopen since X does not have clopen sets in the standard topology (despite of X and the emptyset).
But since $\varphi^{-1}$ is also continuous, the Image of a cylinder set needs to be clopen!