The representation of integers by quadratic forms has been a subject of interest in number theory for a long time. One crucial tool in this study is the theta series of a positive-definite quadratic form. Theta series are well-known to be modular forms, which establish a connection between algebraic and analytic theories of quadratic forms. In this talk, we will explore this connection via theta series and their applications in studying integer representations by quadratic forms.