A codec is basically software that helps the video and audio sync together. It is a tool that compresses and also decompresses the videos to play and store. The presence of a codec makes it easier for the users to run any High-quality video with better sound.