 Islamic hospitals can best be understood by being viewed as a philanthropy because they gave public assistance to individuals who needed care.Bimaristans were able to provide these services at no costs due to "waqfs," which were endowments that paid for the costs of creating bimaristans as well as maintaining them".