Gnosticism used a number of religious texts that are preserved, in part or whole, in ancient manuscripts, or lost but mentioned critically in Patristic writings.