I'm studying modular forms and my professor started the course talking about elliptic functions. These particular functions form a field (once that the lattice $\Lambda$ is fixed) called $E(\Lambda)=\mathbb C(\wp,\wp')$ and they "represent" all meromorphic functions on the torus $T=\mathbb C/\Lambda$. Is demonstrated that two tori $\mathbb C/\Lambda$ and $\mathbb C/\Lambda'$ are conformally equivalent iff $\Lambda'=a\Lambda$ for some $a\in\mathbb C^\ast$; moreover the surface of all equivalence classes of conformally equivalent tori is in bijection with the $G$-space $\mathcal H/ SL_2(\mathbb Z)$ where $\mathcal H$ is the upper half plane. But $\mathcal H/ SL_2(\mathbb Z)$ is homeomorphic to $\mathbb C$ through the function (absolute invariant) $j$, so the space of moduli of genus $g=1$ can be identified with $\mathbb C$. This is for me quite clear, but the my professor then introduced modular forms and modular functions, that are so important because they are related to many theory of number's problems, such as the solution of $Q(x_1,\ldots, x_k)=n$ where $Q(\cdots)$ is a quadratic form in $\mathbb Z$.
Despite this I don't understand in which way modular forms and modular functions are related to complex tori, Riemann Surfaces and elliptic functions. Why it was necessary to start the course with the concept of elliptic function?