Red Hat interview question

When do you prefer container over VM? What are the main differences?