Proof (torus homeomorphic to R2 quotient Z2)

Define $$ \begin{alignat}{1} e:\quad && \R^2 &\to S^1 \times S^1 \\ && (s,t) &\mapsto (e^{2πis}, e^{2πit}), \end{alignat} $$ which is continuous and surjective.

https://www.desmos.com/3d/dz162ggd3m

Also let $π: \R^2 \to \R^2/\Z^2$ be the quotient map induced by the equivalence relation $(x,y)\sim (x',y')$ iff $(x'-x,y'-y)\in \Z^2$ iff $e(x,y) = e(x',y')$. So we have a continuous bijection $\hat e: \R^2/\Z^2\to S^1\times S^1$ such that $e = \hat e\circ π$.

Note that $π|_{[0,1]^2}: [0,1]^2 \to \R^2/\Z^2$ is surjective, so $\R^2/\Z^2$ is the continuous image of a compact space and is thus compact. Then $\hat e$ is a continuous bijection from a compact space to a Hausdorff space, so by the topological inverse function theorem, $\hat e$ is a homeomorphism $\R^2/\Z^2 \to S^1\times S^1$.