How to Create and Restore VM Snapshots in VirtualBox

Let?s say you have set up a fully functional Centos 7 machine for your development work. You have installed development tools, Linux packages, build-essentials as part of your work. Down the line, you messed up something in your operating system by changing some important configuration and your OS is not booting up properly.