Virtual machines are very convenient: A computer inside a computer on which you can experiment without being afraid of messing up your own computer. And you can take snapshots so that you can easily set up restore points. When you have finished experimenting, you can simply delete the entire virtual environment. Virtual Machines are also useful for trying out other operating systems or distributions.
Peter shows how to set up a virtual machine and how to use Virtual Box, Vagrant and Ansible.