When our bodies are dehydrated which can happen by the time we're actually thirsty, our brain volume gets reduced and our brain fluid tissue decreases when we're dehydrated, this temporarily affects our brain cell function.
This is why it's important to stay hydrated and drink something before you're thirsty.