In Windows 10 you can setup windows media player easily.Click search Windows and type media player, click or press enter key.
If it's your first time, you need to configure it first.
Choose radio button Recommended settings, click finish button.
You can play audio and video player with windows media player.
Windows media player supported file extension in Windows 10 are:
Windows Media formats (.asf, .wma, .wmv, .wm)
Windows Media Metafiles (.asx, .wax, .wvx, .wmx)
Windows Media Metafiles (.wpl)
Windows Media Download Package (.wmd)
Audio Visual Interleave (.avi)
Moving Pictures Experts Group (.mpg, .mpeg, .m1v, .mp2, .mp3, .mpa, .mpe, .m3u)
Musical Instrument Digital Interface (.mid, .midi, .rmi)
Audio Interchange File Format (.aif, .aifc, .aiff)
Sun Microsystems and NeXT (.au, .snd)
Audio for Windows (.wav)
CD Audio Track (.cda)
Indeo Video Technology (.ivf)
Windows Media Player Skins (.wmz, .wms)
If you looking for another format to be played but not on the list above, you can try to use VLC Media player https://www.videolan.org/vlc/index.html
It's free and open source.