Red Hat Interview Question

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