MIDI (Musical Instrument Digital Interface) is a protocol letting electronic instruments, computers, and devices exchange musical data.
Example: You press a key on a MIDI keyboard → it sends a MIDI message (note pitch, velocity, duration) to your computer → your DAW (Digital Audio Workstation) triggers a synthesizer or sample to play that note → you record a sequence → edit notes, add effects, change tempo → sync multiple instruments (keyboards, drum machines, samplers) for perfect timing → even control lights/stage effects.
MIDI is a universal language for creating, recording, and performing music digitally.