A spectrogram is a visual representation of the spectrum of frequencies in a signal as it varies with time. This graphical depiction allows for the analysis of how different frequency components of a signal change over time, making it particularly useful in understanding complex biomedical signals such as those found in EEG or ECG recordings.