Codec compress data so that it can be transmitted in a fast and efficient manner and then decompress it when it is to be read or played back.
In computing, a codec is a computer program that encodes or decodes digital data. The term codec is a portmanteau of "coder-decoder". A codec encodes data for transmission, storage or compression, or decompresses and plays back encoded data.
There are many different codecs available, each with its own advantages and disadvantages. Some codecs are better suited for certain types of data than others. For example, video codecs are designed to compress moving images, while audio codecs are designed to compress audio data.
When choosing a codec, it is important to consider the file size, the quality of the encoded data, the CPU usage, and the compatibility with the playback software.
Learn more on codec here:
https://brainly.com/question/14338673
#SPJ4