How to make panning shots

The panning technique is very useful to capture the motion of a subject in a photography. Let's see how we can achieve it.