I am not a scientist, but I recently read about research on how the warming of our extremeties beyond our core helps us to fall asleep. It makes sense to me, because it is very hard for me to fall asleep if my feet are cold. But, I guess you are looking for what happens in the brain. It will be interesting to see what other information comes from your question.