Abhijit Naskar said this quote

Consciousness is simply the brain’s neural response to its surrounding environmental stimuli. Hence when the neural circuits malfunction, Consciousness tends to malfunction as well.