Is the effect of meditating different from the effect of napping or being absorbed in something and if so what is the difference?

Better sleeping is known to provide lots of health benefits. These can include better heart function, hormonal maintenance and cell repair as well as boosting memory and improving cognitive function. Basically, sleeping gives your body a chance to deal with everything that happened during the day, repair itself and reset for tomorrow

Sleep deprivation, therefore, actually harms us in several ways. One of the most obvious harms is that we have trouble focusing when we’re sleep deprived. Leo wrote about this on the Buffer blog before:
someone who is severely sleep deprived is in fact as attentive and awake as you are, with one big difference. Here is what a recent study found:

Whether we are sleep deprived or not, we lose focus at times. And that is precisely where the sleep deprived person lands in a trap. Once we start to lose focus and have received the right amount of sleep, our brain can compensate for that and increase attention. If we are sleep deprived, our brain can’t refocus