The Five Pillars of Islam are the bases of the Islam religion. Denying them intentionally will have any Muslim removed from the religion. The Ten Commandments are the basic rules that God gave His people to live by, but if broken or not followed you will be forgiven and not removed for your religion.