Shah Waliullah in Hujjat Allah Ul Balighah writes that exchange is of different kinds. Goods for goods or goods for services. There are people with surplus funds and some with deficiency of funds. This requires transfer of resources for need fulfillment without counter value as in Zakat and Sadaqat.
