Imagine you want to save your favorite song or movie so you can enjoy it anytime without needing the original CD or DVD. Instead of keeping the whole disc, you take many tiny snapshots of the sound and pictures at regular moments. These snapshots are like photos in an album that, when flipped through quickly, recreate the song or movie perfectly.
Digitizing audio and video works similarly. The continuous sounds and moving images are captured as many small pieces of information (samples and frames). Each piece is then turned into numbers (digits) that a computer can store and understand. Later, the computer uses these numbers to play back the sound or video just like flipping through the photo album fast enough to see the motion and hear the music.