The equation shows that ammonium chloride (a white solid ... and water to produce hydrated cobalt(II) chloride (which is pink). Heating pink hydrated cobalt(II) chloride makes it turn blue.
Ammonium chloride is a white solid. It breaks down when heated, forming ammonia and hydrogen chloride. When these two gases are cool enough, they react together to form ammonium chloride again.