You might have heard the phrase "social determinants of health". It's the idea that social factors—such as poverty, access to education, where you live and whether you face discrimination—have a huge influence on your health and life expectancy.
Source:
phys.org