Disk images, which are more commonly known as DMG files are like virtual disks (for example CDs or DVDs). You might have encountered them while downloading any software applications from the internet. They are most commonly used as app containers for the macOS operating system.