Purpose of 5 pillars of islam Purpose of Shahada or (Testimony of faith) = To worship God Alone and follow the lifestyle of God's last and final Messenger Muhammad (peace be upon him). Purpose of Salat or Prayer = To remember God through prayer. Purpose of Sawm or Fasting = To achieve self-control through fasting. Purpose of Zakat or Charity = To become helping hand for others through charity. Purpose of Hajj or Pilgrimage = To achieve brotherhood by gathering people from throughout the world and together worshipping God Alone.