Quoted By:
>Polaroid film worked by layering light-sensitive compounds (like silver halides) with dye developers; when exposed to light and then squeezed by rollers, a reagent paste spread across the film, triggering a timed chemical reaction that developed and revealed the image by reducing exposed silver halides and releasing corresponding color dyes to form the photo.
but you could have literally googled this yourself