What are the two senses of Scripture according to ancient tradition, and how do they contribute to its richness?

CCC paras 115-116

Reflection: According to tradition, Scripture has two senses: the literal and the spiritual (allegorical, moral, and anagogical). The literal sense is the straightforward meaning of the words, understood through careful interpretation. The spiritual senses, built upon the literal, delve deeper into the symbolic, moral, and future implications of Scripture, enriching its meaning.
Action: I will explore Scripture with both the literal and spiritual senses, seeking not only the surface meaning but also the deeper truths it reveals about faith, morality, and our ultimate destiny.