DAWs have a sampler that plays the provided instrument samples and recorded or loaded tracks. It is more or less like a synthesizer.