Ibn Tufail was the author of Ḥayy ibn Yaqẓān ( "Alive, son of Awake"), also known as Philosophus Autodidactus in Latin, a philosophical romance and allegorical novel inspired by Avicennism and Sufism, and which tells the story of an autodidactic feral child, raised by a gazelle and living alone on a desert island, who, without contact with other human beings, discovers ultimate truth through a systematic process of reasoned inquiry. Hayy ultimately comes into contact with civilization and religion when he meets a castaway named Absal (Asāl in some translations). He determines that certain trappings of religion, namely imagery and dependence on material goods, are necessary for the multitude in order that they might have decent lives. However, imagery and material goods are distractions from the truth and ought to be abandoned by those whose reason recognizes that they are. The names of the characters in the novel, Ḥayy ibn Yaqẓān, Salamān, and Absāl were borrowed from Ibn Sina's tales. The title of the novel is also the same as Ibn Sina's novel. Ibn Tufail did this on purpose to use the characters and the title as a small reference to Ibn Sina, as he wanted to touch upon his philosophy.