The Torah is the written law, the Jewish Bible, which was dictated to Moses on Mt. Sinai, and is believed to be the actual word of G-d. In addition to the words that G-d wanted Moses to write down, G-d also explained details to Moses about what the words in the Torah meant. For example, the Torah says that the Jewish people should observe the Sabbath and keepit Holy. But, what does this mean? G-d explained to Moses the answers to questions like this. Then Moses was instructed to pass this information along to the Elders (the wise men in the Jewish community). Then, these men went on to teach the children and the Jewish people. This oral tradition is was passed on, generation to generation. Then Rabbi Yehuda Hanasi decided that these stories and explanations really needed to be written down, so that they would not be altered and so they would be remembered. The Oral Law was finally recorded in what is called the Mishna. Rabbis from everywhere would study the Mishna, and these Rabbis would have very high-level discussions. The discussions were recorded and compiled in what is known today as the Talmud. Today, Jews around the world study the Talmud and hold the laws in the Talmud (the Oral Law) as just as important as the Torah itself. It says in the Torah that the Oral Law should be taken as seriously as the Torah itself. I have just given you the most simple explanation of what the Talmud is and where it came from. Here is a more detailed
explanation with dates included. I hope this answers your question.