ALAC
ALAC (Apple Lossless) stores audio bit-for-bit perfectly at roughly half the size of WAV, inside an .m4a file. It is the lossless format iTunes, Apple Music, and macOS handle natively — pick ALAC over FLAC when the library lives in the Apple ecosystem, since Apple Music and iTunes still will not import FLAC.
MP3
MP3 is the most compatible audio format ever made. It plays on every device built in the last 25 years, from a $5 Bluetooth speaker to a Tesla, and 320 kbps MP3 is sonically indistinguishable from CD for most listeners. Pick MP3 when you want a file that will simply play, everywhere, without anyone asking what a codec is.