Sound begins with movement. Pluck a guitar string, hit a drum, or speak, and something starts to vibrate. That vibration pushes and pulls the air around it. The result is a travelling pattern of pressure changes called a sound wave.
Your ears turn those pressure changes into signals your brain can understand. Recording equipment follows a different path. A microphone turns the pressure wave into a changing electrical signal. An audio interface or sound card then measures that signal and stores the measurements as numbers.
Those numbers form digital audio. Music software can edit them, compress them, analyse them, and use them as input for AI music systems.