If $a$ is an irrational number and $$G = \Big\lbrace \begin{pmatrix} e^{it}&0\\0 & e^{ita}:\end{pmatrix}:t\in\mathbb{R}\Big\rbrace$$ is a subgroup of $\operatorname{GL}(2;\mathbb{C})$:
How can one prove that the closure of $G$ is $$\overline{G} = \Big\lbrace \begin{pmatrix} e^{i\theta}&0\\0 & e^{i\phi}\end{pmatrix}:\theta,\phi\in\mathbb{R}\Big\rbrace.$$
Why $G$ can be seen as the "irrational line in a torus"? Physically, if I remember correctly and for example, you could have a dynamical system with two frequencies such that the sum of them is not an integer of $2\pi$. Then one "can cover densely" the torus with some mapping. Here, how is this related to $G$?
Jair Taylor's comment addresses $(2)$.
For $(1)$, suppose I want to show that a given choice of $\theta,\phi$ yields a point in the closure of $G$. Consider the sequence $t_n=\theta+2\pi n$. We have that for each $n$, $e^{it_n}=e^{i\theta}$. So it's enough to argue that $e^{i\phi}$ is in the closure of $$\{e^{i(\theta +2\pi n)a}:n\in\mathbb{N}\}=\{e^{i\theta a}e^{i2\pi n a}:n\in\mathbb{N}\}.$$ But this is basically just the fact that the orbit of any point (in this case, $e^{i\theta a}$) with respect to an irrational-multiple-of-$\pi$ rotation (in this case, $p\mapsto pe^{i2\pi a}$) is dense in $S^1$.
If you're unfamiliar with that fact, it may in turn be easier to prove it in the following form: that $\{\lfloor an+b \rfloor:n\in\mathbb{N}\}$ is dense in $[0,1]$ whenever $a$ is irrational (regardless of what $b$ is).
It may also help further clarify the situation to set $\theta=0$, so you're just looking at $\{e^{i(2\pi an)}:n\in\mathbb{N}\}$. In the previous italicized comment, this corresponds to setting $b=0$.