How to Burn DMG, ISO or Other Files on Mac OS X

If you want to burn .DMG, .ISO or any other files to optical medium then Disk Utility, the built-in utility of Mac OS X could be used to do that and in this way there is no need to put extra effort to install any other third party application to burn ISO or DMG files. [...]