Light waves are transverse in nature; i.e., the electric field associated with a propagating light wave is always at right angles to the direction of propagation of the wave. This can be easily demonstrated using a simple polaroid, which is a thin plastic like sheets. A polaroid consists of long chain molecules aligned in a particular direction. The electric vectors (associated with the propagating light wave) along the direction of the aligned molecules get absorbed.
Thus, if an unpolarised light wave is incident on such a polaroid then the light wave will get linearly polarised with the electric vector oscillating along a direction perpendicular to the aligned molecules; this direction is known as the pass-axis of the polaroid. Thus, if the light from an ordinary source (like a sodium lamp) passes through a polaroid sheet P1, it is observed that its intensity is reduced by half. Rotating P1 has no effect on the transmitted beam and transmitted intensity remains constant. Now, let an identical piece of polaroid P2 be placed before P1. As expected, the light from the lamp is reduced in intensity on passing through P2 alone. But now rotating P1 has a dramatic effect on the light coming from P2. In one position, the intensity transmitted by P2 followed by P1 is nearly zero. When turned by 90º from this position, P1 transmits nearly the full intensity emerging from P2 as shown in figure..

The above experiment can be easily understood by assuming that light passing through the polaroid P2 gets polarised along the pass-axis of P2. If the pass-axis of P2 makes an angle θ with the pass-axis of P1, then when the polarised beam passes through the polaroid P2, the component E cos θ (along the pass-axis of P2) will pass through P2. Thus, as we rotate the polaroid P1 (or P2), the intensity will vary as:
I = I0 cos2 θ --------- (1)
where I0 is the intensity of the polarized light after passing through P1. This is known as Malus’ law.
The above discussion shows that the intensity coming out of a single polaroid is half of the incident intensity. By putting a second polaroid, the intensity can be further controlled from 50% to zero of the incident intensity by adjusting the angle between the pass-axes of two polaroids.