Complex sentence: Laws have been made to keep the illegal immigrants living in the EU outside the society by restricting their access to all public institutions, like social security, health care, and education.
Split into simpler sentences: Laws have been made to keep the illegal immigrants living in the EU outside the society. These laws are aimed at keeping illegals away from all institutions, like social security, health care, and education.