Islam played a role in shaping the history of the Indian Ocean region by providing a unifying force among the various cultures and societies that existed there.