Sankhya Kārika
Karika 35
Intelligence along with other internal instruments comprehends all the subjects as it is fed. So, the three types of instruments are like main gates to the rest of the remaining gates.
The intellect, the ego and the mind are the three instruments that are the main gates.