According to a study published in the journal Science, brain has this unique method of cleansing itself, which is known as glymphatic system that is highly active during sleep, clearing away all the toxins that would otherwise build up and trigger various neurological issues that may include Alzheimer's disease, dementia, etc. This system may also be a reason for a sound sleep at night.