Red Hat interview question

What are the differences between a virtual machine and a container?