Consciousness and Its Function