Why do ventricles have thicker walls than atria?

Why do ventricles have thicker walls than atria?