Conversation so far:

Question: What is the main function of a virtual machine
Self-contained rewrite: What is the main function of a virtual machine?