Countries and firms focus on specialization

Why should countries and firms focus on specialization in the production of goods and services than generalization.