A .dmg file is a digital installer used to mount and install software on macOS. Important Security Note: