The Ramchal explains that Torah was given with multiple faces and dimensions — from the simple legal meaning (peshat) through to the deepest mystical secrets (sod) — and that engagement with all levels is the fullest form of Torah study.
כהאי גוונא אורייתא, אית לה גופא, ומלין דאורייתא דא אקרון גופי תורה, האי גופא מתלבשא בלבושא דאינון ספורין דהאי עלמא, טפשי דעלמא לא מסתכלין אלא בההוא לבושא דאיהו ספור דאורייתא וכו׳. אינון דידעין יתיר, לא מסתכלי בלבושא אלא בגופא דאיהו תחות האי לבושא. חכימין דאינון עבדוי דמלכא עלאה, אנון דקיימו בטורא דסיני, לא מסתכלין אלא בנשמתא, דאיהו עקרא דכלא אורייתא ממש, ולעלמא דאתי זמינין לאסתכלא בנשמתא דאורייתא:
The commandments of the Torah are called the “body” of the Torah. This body is clothed in a garment made up of the stories of this world. The fools of the world look on nothing save the garment, which is the story of the Torah [and nothing more. They do not look at that which is under the garment]. The wise, who worship the Most High King, those who stood at Mount Sinai, look only at the soul, which is the most essential thing of all. It is the true Torah. In the world-to-come, they will look at the soul of the soul of the Torah. Come and see. Thus it is above: