The history of Islam, much like any faith, has been shaped by the world around it. Islam adapted to audiences in the Arabian Peninsula to fit local cultures and customs, ensuring it spread across the Middle East and to other continents. Like other religions, Islam has come to be moulded by its environment.