Karika 38
tanmātrāṇyaviśēṣāstēbhyō bhūtāni pañca pañcabhyaḥ। ētē smr̥tā viśēṣāḥ śāntā ghōrāśca mūḍhāśca ॥38॥
The five not so distinct sensations (tanmātrāṇi) distinguish the five gross elements as peaceful, agitated, and dull, with the aid of memory.
Sensations along with memory help us to distinguish the five elements, and thus the world around us.