The format has a TIFF-image structure. It is generated by Canon cameras. The CR2 photo is stored in an uncompressed form and allows you to edit such settings as white balance, exposure, and other settings for photos that were already taken. It is the successor format to CRW, which was used in previous generation Canon SLR cameras.
Since 2007, Microsoft began to use a file format docx, which is created by using the Office Open XML. The format is a zip-file containing the text in the form of XML, graphics and other data that can be translated into a sequence of bits using patent-protected binary formats. At first it was assumed that this format will replace the doc, but both formats are still used today.