With his immense intellectual stature and his encyclopedic knowledge, al-Ghazali has influenced Islamic thought and defined its practice for nearly nine centuries. The ethics of al-Ghazali is based on the psychological analysis of human nature. He views that superiority of man over other creatures lies in his power of recognition of God. Ghazali laid great emphasis on purification of heart and freedom of will.