The only thing between the light that has passed through the Aperture and the image sensor is a shutter. The Shutter Speed setting controls how long the shutter opens to expose the image sensor to that light. Open it for just a millisecond and you can freeze a fast moving subject. Alternatively, you can show the movement of a fast moving subject by keeping it open longer with a slow shutter speed.