Introduction to Shutter Speed:
Shutter speed is how long the shutter is open. It affects how much motion the camera captures. You can either freeze an image in motion or capture its motion.
The Process of Panning:
Panning is when you capture the subject in motion and capture both the motion and the subject. When you pan you will keep your camera moving with the subject and keep the subject the focus. Before you take the picture and after you take the picture you should scan with the moving subject and you should end up with some movement in your photo.
When and What shutter speed:
If you are taking a picture and want to get lots of detail using a longer shutter speed will help the camera capture it. For example when taking pictures of a starry night you might want to use a tripod and have your shutter speed set to 20 seconds.
When you want to freeze an image that is moving quickly you may want to use a
Motion:



This is an example of panning. As you can see the subject is in focus but the motion is shown.
Here is an example of a short shutter speed, the subject is stopped in motion and is in focus.
Here is an example of a longer shutter speed. You can see how the people in motion are blurry while the people who are not are clearer.

This is my favorite image because you can see the motion but the subject is sill more in focus than the rest of the picture. This makes it easy to identify the subject.