Analog recording is known to record audio on disk records. The basic principle of disk recording is very simple. Displacement of the microphone diaphragm is transformed into a wiggley groove on a moving piece of vinyl. A stylus tracing the wiggles exactly reproduces the motion of the diaphragm at the time the recording was made. Electricity is really incidental to the process, used as a convenient way to connect the microphone to the cutter and the pickup to the speaker.
Digital recording occurs through the use of numerical data, such as binary. In a digital recording system, sound is stored and manipulated as a stream of discrete numbers, each number representing the air pressure at a particular time. The numbers are generated by a microphone connected to a circuit called an analog to digital converter, or ADC. Each number is called a sample, and the number of samples taken per second is the sample rate. Ultimately, the numbers will be converted back into sound by a digital to analog converter or DAC, connected to a loudspeaker.