Aspects of Quantum Field Theory in Curved Spacetime