During deep sleep, HCG hormones work to repair sore, damaged muscles. Your body also makes white blood cells during sleep, allowing the body to detect and fight bacteria and viruses that could make us sick. Rest gives the immune system the boost it needs to keep us healthy and strong.