Understanding Pion Photoproduction Using Chiral Perturbation Theory