Counting curves of genus zero and one in projective space

I will talk about how the Kontsevich moduli space of stable maps can be used to solve enumerative problems of curves in P^n. I will skip most of the proofs and focus on the methods.