Hunger, for example, is just a feeling. Thirstiness is just a feeling. But we don't build complex theories of the world around Thirstiness. Somehow we do with Consciousness, because I suspect it tricks us, playing recursively with our thinking.
Consciousness, which nobody really ever defines clearly, it's probably just a name around a bunch of feelings we have.
It's clear why Thirstiness has evolved: to get us to find water. Not salty one.
Probably Consciousness does something like that. For example, it might be just a feeling of oneness to keep us intact, across peripherals (legs, arms) and time (now is really a continuation or whatever we were doing before, you need a feeling to enforce that).