ALAC is the format of a small specialized program called an audio codec. Its main task is to compress a file with digital music without losing its quality. The name of the format created by Apple's IT giant is Apple's abbreviation Lossless Audio Codec. This format may also be called ALE (from Apple Lossless Encoder). Files in this format can play devices even with limited computing resources - such as an iPod. When compressing a file in this format, it is approximately 40-60% of the original file. Now almost every multimedia player based on the libavcodec library is able to play ALAC format files.
CAF is a highly specialized audio file format. It was developed by Apple Computer, its name is an abbreviation for Core Audio File. It is a container format for audio files. CAF is distinguished by its large size from many other similar audio file formats. At the same time, the compression ratio is, on the contrary, much less than that of files of a different format, which allows compression without loss of quality compared to the original. The disadvantages of the CAF format are that not all popular players support it, and therefore such files need to be converted.