A soundcard is a hardware device used to perform the digital to analog conversion of raw audio in PCM format received as input and to amplify that analog audio as output.
A computer with a soundcard requires the installation of audio drivers. A layer of software running an audio server is also required to be installed which acts as an intermediary between the end user audio application and the soundcard. portaudio is a common cross-platform audio server.
All digital media with an audio codec must first get converted into raw audio in PCM format before being sent to the audio server. PCM is the lingua franca for digital audio.
Most consumer computers have a soundcard however often servers do not.