What is the relation between ALSA and PulseAudio sound architecture?

PulseAudio basically sits atop ALSA, and use it internally. ALSA is unable by itself to be used by multiple applications, so PulseAudio provides this functionality among others.

Summarized:

  • ALSA - dealing with the hardware, basically owning it
  • PulseAudio - a software proxy providing additional featues (mixing, equalizer) between your application and the ALSA/OSS subsystem

This diagram is from the Wikipedia page of PulseAudio:

PulseAudio operational flow chart