From the Hebrew expression 'Iamad' which means 'to learn', The Talmud forms the basis for Jewish civil and canonical law. It is comprised of two sections, the text and a supplement to guide the reader and they are known as the Mishna and the Gemara. In addition to being the basis for a legal code, The Talmud is also a collection of Jewish legend and poetry. The Mishna was believed to have been handed down by Ezra, and to have been partially written by David, Solomon or Joshua. It was believed to have been communicated orally by the Deity during the time of Moses. Many believe that there are magical secrets included in The Talmud's writings, although this is largely a matter of interpretation.