The human senses are like limitations of Awareness. It is as if Awareness is restricted and only certain ranges of perception can come through. Imagine Pure Awareness that knows all: it would be like Pure Light or total imperceivable clarity. But then consider that this is masked or covered and pin holes are poked through the covering to allow limited light to come through. It is like this with hearing, seeing, tasting, touching, and so on.
So it's not that the senses develop by chance, but rather that there is an apparent limitation of Awareness, clouding or preventing clear knowing, and within this small holes appear that allow limited perception. It is like the refraction of light from white light into the colours within its spectrum. The pure light seems to divide into different forms or frequencies of light, which seem to be less than it, but are the expanded totality of it.
That's how the universe works. It's the seeming expansion of One into many. The One is never truly divided, but it can appear divided. In fact the One cannot appear. Only when the One appears divided can it seem to appear at all. Consider again white light: it is imperceptible until it is reflected and refracted into colour. This is the pattern of the universe right here. The universe appears by the division of One into one and others. It is then, when there is a distance or apparent separation, that one can see the universe. Otherwise the universe is contained in itself as a Singularity. Indeed it is still contained in itself as a Singularity, whether it appears divided or not.
It is a play of separation. Awareness or Knowing or Consciousness seems to divide itself into a perceiver perceiving the perceived. Subject and object seem separated by the connection between them. One seems to divide into one knowing many. Awareness seems to divide into methods of knowing, which in the human experience are the senses of sight, hearing, taste, touch, and so on. More senses can develop during evolution, as further pin-holes of perception open. These senses allow a fuller picture of the universe.
But let's not overlook that the universe is Awareness perceiving itself. The evolution of perception then is the uncovering of the apparent limitations imposed upon Awareness, to eventually reveal the full complete clarity of Awareness itself. Pure Awareness can be considered as pure unending light. The end of the universe is in the complete clarity of All Knowing Being, where there is actually no perception of form, yet complete knowing of being. The universe will seem to transform into the all-knowing clarity of Awareness.
This might seem bleak to humans, and sound like the end of all life. But really Awareness is Life itself. In the universe Life seems to be divided into life and the lifeless, and a range or spectrum between these. Again, it is Awareness appearing to divide itself - into what it is and seemingly what it isn't. Life is the ever-present constant throughout the appearance and disappearance of the universe. The culmination of the universe is not in its destruction but in its completion and apparent return to Oneness, the Fullness of Life.
But the universe is always whole and complete. It just seems to be divided and needing to go through expansion and contraction to return to its original state. It's always One. The division is only an appearance within its timeless Oneness. Similarly with perception, Awareness is always present within the seemingly divided senses of perception. It is Awareness that knows the senses of perception. Awareness is that in which the perceiver, perceiving and perceived are perceived.
There is never really anything outside of Awareness. It remains always imperceptibly present. Yet Awareness can be known by the act of being able to know. What that means is that Awareness is Self-Aware, by the fact that it knows it knows. Awareness is aware of being aware. I know, therefore I know I am.