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.
This format was used for storing databases on the Pegasus and Palm PDA devices. Besides images, PDB allowed you to store tables, maps, e-books, and other data in a structured way. Today it has become obsolete and has been replaced by more flexible formats with DRM protection.