To test sound on Mac, turn up the volume and play something. Simply open your Music app, select any song from your collection and click Play. If the menu bar shows progress but you can’t hear anything, your Mac has a sound issue.
To fully test sound on Mac, you should check both built-in and external speakers. To this end, go to System Preferences > Sound > Output and change your audio output. Also, untick the Mute box and move the volume slider to the right. If neither built-in nor external speakers work, you might want to check your Mac’s software to troubleshoot the issue.