After confirming the disk image, the utility mounts the virtual disk and places it on your desktop and in an Apple Finder window as if it was a CD or a USB flash drive inserted into the computer.
After clicking the file, the DiskImageMounter utility bundled with macOS verifies the disk image's integrity. You can open a DMG file by double-clicking the file.