During the primary transit, the planet passes in front of its host star as seen from Earth. We measure the transmission spectrum of the planet as light from the host star is absorbed by chemical species in the planet's atmosphere. These data are sensitive to the relative chemical abundances and the presence of cloud or haze particles. During the secondary eclipse, the planet passes behind its host star as seen from Earth. As its light is blocked, we measure the dayside emission spectrum of the planet. Emission spectroscopy is sensitive to the absolute chemical abundances and the thermal profile. We observe the phase variation to map the planet's emission as a function of longitude. This probes the dynamics of energy transport in the planet's atmosphere.