From the same combination of false ego and the material mode of passion from the creation of intelligence, the senses are created. The five senses for acquiring knowledge (sight, hearing, smell, taste, touch) depend on the intelligence to work, while the senses of action (the tongue, hands, legs, genital and excretory system) depend on the vital energy (prana) to operate. In this way, the vital airs are also created at this stage. There are ten types of vital airs: five gross (which are destroyed together with the body at the time of death) and five subtle, that follow the soul from one body to the other.
Although maintained by the intelligence and prana, all of the ten senses are controlled by the mind, which is supposed to be restrained by the intelligence. When we can purify the mind and the intelligence, all the ten senses can be used in the service of Krishna, following the process of action in Krishna Consciousness explained in the Bhagavad-Gita. Otherwise, they will just follow the dictation of the mind and be engaged in material activities, bringing us further down in the material ocean.
Becoming free from the material illusion (Srimad Bhagavatam #34)