This talk is a pedagogical introduction to the ideas and methods of quantum field theory in curved spacetime using an approach based on abstract $*$-algebras of observables. In particular, the construction of the algebra used for the real scalar field will be discussed in detail, as will the GNS construction of Hilbert space representations.