Polarizers are made of long chained molecules which absorb light with electric fields.
When you shine a light on a polarizer, only a part of the light is passed. The materials in the polarizing plate absorb only the electric field component of light having the same direction as themselves. The electric field absorbed is converted into heat energy. On the other hand, they pass the electric field component of light perpendicular to their direction.