How do I use the /playsound command?

I am completely unfamiliar with this command, but I want to know how to use it.
Normally all I have to do is type /[example]
and then press tab, and a bunch of options will show up. For an example, when I do /particle
[tab] then a lot of particle effects will pop up. But it does nothing when I try the /playsound
command. Is there something I need to add to a folder or something?
Also, I don't completely understand the rest of the command either. Please help me.
Best Answer
You can use the /playsound
command as follows:
/playsound soundname (@p for closest player @a for all or @r for random player) x y z volume pitch minvolume
The volume, pitch and player are optional
A list of sounds can be found here in the sound event column.
Pictures about "How do I use the /playsound command?"



Quick Answer about "How do I use the /playsound command?"
How do you use the Playsound command in Minecraft Education Edition?
Knowing the name of a sound effect comes in handy when you want to play a sound. You can use the /playsound command to play a sound effect at any time in the game. For example, you can play the sound of thunder for the player named DigMinecraft.How do you use a Playsound bedrock edition?
The SOUND command produces sound of a specific frequency for a specific duration from the PC Speaker. Only one sound can be played at a time. If multiple SOUND statements are issued sequentially, every statement after the first will not execute until after the previous one finishes.How to use the Playsound Command 1.13+
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Brett Jordan, Brett Jordan, Ivan Samkov, Andrea Piacquadio