What Happens While You Sleep
Eight Hours of Work Your Body Does Without You
- 8 chapters
- 56m
- Medicine General
- Free · no sign-up
The book covers sleep stages including REM, circadian rhythm, and light's role in regulating sleep cycles. It explains how adenosine builds up during wakefulness and why caffeine temporarily blocks its effects. Chapters examine memory consolidation, sleep apnea, insomnia, and the science behind why we dream.
Whether you're a student, parent, or simply curious about your own nighttime activities, this straightforward guide reveals what your body actually does while you rest.
Listen
-
Read this chapter
Overview
The connection between sleep and memory has been explored since at least the early 19th century. Memory, which involves storing and recalling experiences, learning, and recognition, comes from changes in brain connections called plasticity. When we encounter something, it's quickly encoded, but forming lasting memories can take minutes, days, or even years. Sleep plays a key role in strengthening and organizing memories. Research shows that both nighttime sleep and daytime naps help with memory consolidation. Different stages of sleep affect different types of memories—slow-wave sleep seems to boost declarative memories, while REM sleep helps with non-declarative ones, though results vary. This area remains an active field of study across neurology, psychology, and related areas.
History
In 1801, David Hartley first proposed that dreaming changed how ideas connect in the brain during REM sleep. By the end of the 19th century, it was widely accepted that sleep helped the mind sort and store memories. J.M. Barrie wrote in Peter and Wendy that mothers "rummage in their minds" at night to organize thoughts for the next day. The first real scientific study linking sleep and memory came in 1924 by Jenkins and Dallenbach, who tested Ebbinghaus’ theory of forgetting. They found that people remembered better after sleeping. Then, in 1953, scientists began distinguishing REM from non-REM sleep stages, opening the door to studying how each affects memory. As these connections became clearer, researchers turned to understanding the brain’s neural activity during sleep and memory consolidation.
Stabilization vs. enhancement
When a memory is stabilized, it’s being firmly set in place—like a weak thread being tied down, creating a basic connection. This kind of stabilization can even happen while you're awake, especially with procedural memories, which means certain non-declarative tasks might actually improve without sleep. But when memories are enhanced, the process is different: the connections get stronger through repetition and linking to other related memories, making recall easier. While stabilization of non-declarative memories can occur during waking hours, enhancement of these same sensory and motor memories mostly takes place during nighttime sleep.
Use-dependent processes vs. experience-dependent processes
While you sleep, your brain processes information in two main ways: use-dependent and experience-dependent activity. Use-dependent brain activity happens regardless of what you've learned—it's more about the neurons regenerating after a day of waking hours. Experience-dependent activity, on the other hand, relates to new learning or experiences from before sleep, like a task or fact just learned. These two types can be hard to tell apart in experiments because even the lab setting is novel, which adds its own signal to brain activity. To fix this, researchers often have participants spend a day in the experimental environment before testing begins. That way, when data is collected, it reflects only the new tasks and not the unfamiliar surroundings.
Reconsolidation
While you sleep, your brain is actively reworking memories you've formed during the day. When a memory needs to be updated or changed, it goes through a process called reconsolidation. This means the brain retrieves an old memory and puts it into a temporary state where it can be altered. New information can then interfere with the original memory, changing how it's stored. This is known as retroactive interference. Because of this, memories aren't fixed—they can shift each time they're recalled. That’s why eyewitness accounts in court can be unreliable, since memories may change over time.
Pre-training vs post-training sleep deprivation
Researchers studying sleep and memory use different approaches to understand how rest affects learning. In some experiments, people learn a new skill first, and then they are kept awake—this is called post-training sleep deprivation. In other studies, subjects are deprived of sleep before being taught something new, which is referred to as pre-training sleep deprivation. Both methods help scientists figure out whether sleep matters more before or after learning happens.
Behavioral measures
While you sleep, your brain sorts through memories using tasks that test recall. In a self-ordered pointing task, people point to unfamiliar images or words. A recency discrimination task asks participants to decide if an image came from recent or earlier presentations. Spatial learning occurs in route retrieval tasks where someone virtually tours a place and later retraces it while brain activity is recorded. In a paired word associative task, people learn to connect words with cues. Mirror tracing involves tracing shapes seen only in a mirror, measuring speed and accuracy. Rats are tested in the Morris water maze, sometimes finding a hidden platform using spatial memory, other times seeing a visible one for comparison. The serial reaction time task has subjects react quickly to markers on a screen; it's used in sleep studies to test what's remembered after rest. Rodents also learn skilled movements like reach-to-grasp or neuroprosthetic tasks where brain activity controls a mechanical arm. Block tapping and finger tapping tests measure motor skills, tracking speed and errors over time.
Neural imaging measures
While you sleep, your brain is hard at work, and scientists use special tools to watch what happens. Two main types of brain scans are used: structural imaging, which looks at the brain’s structure, like what a computed tomography scan shows, and functional imaging, which tracks how the brain works, such as with positron emission tomography or fMRI. These techniques have helped researchers understand how sleep affects memory. PET scans use a radioactive substance injected into the blood to track brain activity, showing 3D images of regions that are working. fMRI measures changes in blood oxygen levels caused by neuron activity, creating colorful pictures of the brain in action. Both methods give scientists detailed views of the brain during sleep and learning.
-
Read this chapter
Overview
Sleep apnea is a sleep disorder where breathing repeatedly stops or becomes shallow during the night, often causing loud snorts or gasps when breathing resumes. These pauses can last seconds to minutes and happen many times each night, disrupting sleep and leaving people tired during the day. There are three types: obstructive, central, and a mix of both. Obstructive sleep apnea, the most common form, happens when the airway collapses or becomes blocked. Central sleep apnea occurs when the brain fails to send signals to breathe. Symptoms include excessive daytime sleepiness, loud snoring, and poor-quality rest. Many people don't know they have it—often family members notice first. Diagnosis requires an overnight sleep study, and severity is measured by the apnea-hypopnea index. Untreated, sleep apnea raises risks for heart disease, stroke, diabetes, and even cancer. Treatments include lifestyle changes, breathing devices like CPAP machines, and sometimes surgery. But compliance with CPAP remains low, especially in developed countries. In 2019, a global analysis found that about one billion adults aged 30 to 69 had obstructive sleep apnea, with the condition becoming more common with age and obesity.
Signs and symptoms
When doctors screen for sleep apnea, they ask about symptoms like snoring, breathing pauses during sleep, and sleeping while driving. People can show very different signs, from no symptoms at all to falling asleep suddenly. Some don’t know they have it, and others ignore what’s happening. Researchers are still trying to figure out how to classify different types of sleep apnea based on which symptoms appear together. Untreated sleep apnea causes daytime drowsiness and stress from low oxygen levels, raising the risk of diabetes, high blood pressure, or heart problems. It can also cause hard-to-spot issues like ongoing high blood pressure or irregular heartbeat, and as time goes on, more obvious signs show up. The brain fog and mood changes from poor sleep can lead to depression over time.
Mechanism
When breathing halts due to a blocked upper airway, carbon dioxide accumulates in the bloodstream. Chemoreceptors sense this rise and prompt the brain to rouse the person, reopening the airway and restarting breath. This buildup can stem from weakened control by the brainstem over muscles in the chest wall and pharynx, leading to collapse. Those with obstructive sleep apnea often get less slow-wave and REM sleep. Central sleep apnea unfolds through two main pathways: one involves a failure in the brain’s breathing signal, known as sleep-related hypoventilation, which may arise from strokes or severe spinal curvature; the other stems from post-hyperventilation hypocapnia, commonly linked to heart failure, where brief lapses in ventilatory control result in low carbon dioxide levels.
Complications
Sleep apnea isn't just about snoring—it's a serious condition that affects your whole body. Untreated, it raises your risk of dying from heart disease more than some treated conditions. The brain and kidneys suffer most from the lack of oxygen. Other problems include high blood pressure, heart failure, irregular heartbeat, stroke, and diabetes. Fatigue from sleep apnea is also a major public safety issue, especially when it leads to car accidents. People with sleep apnea are also at higher risk for severe COVID-19 outcomes. There's growing evidence linking sleep apnea to Alzheimer's disease, with studies showing increased beta-amyloid proteins and brain damage linked to poor sleep. Those with mid-life sleep apnea may be more likely to develop Alzheimer's later, and people with Alzheimer's often have undiagnosed sleep apnea. CPAP treatment can help reverse some of these effects, improving brain structure and mental function, though it doesn't fully restore cognitive skills. Research also shows a link between higher BMI and increased risk of Alzheimer's, especially in women over 70.
Classification
When doctors talk about sleep apnea, they often use fixed categories, but new data shows that’s not quite how it works. Primary central sleep apnea, or PCSA, is actually very uncommon—only 3.8% of all diagnosed cases of central sleep apnea fall into this group. That means most cases aren’t pure central events, but instead involve a mix where central breathing problems overlap with obstructive ones. So rather than thinking in strict boxes, modern sleep medicine sees sleep apnea more as a range of related issues, with true primary central cases being the exception rather than the rule.
Obstructive sleep apnea
In 2017, the United States Preventive Services Task Force reviewed available evidence and found that no reliable screening tools exist for identifying obstructive sleep apnea in people without symptoms. Diagnosis of the condition relies on observing repeated episodes of airway blockage during sleep, which can be partial or complete. The American Academy of Sleep Medicine defines these events using specific airflow reductions and durations, along with changes in oxygen levels or arousals. Severity is measured by the Apnea-Hypopnea Index or the Respiratory Disturbance Index, which count these events per hour of sleep. A diagnosis is made when the AHI exceeds five episodes per hour and causes daytime fatigue, or when the RDI reaches at least fifteen regardless of symptoms. Tools like the STOP-BANG questionnaire have shown promise in detecting OSA.
Criteria
According to the International Classification of Sleep Disorders, there are four main criteria for diagnosing sleep apnea. The first focuses on sleep-related symptoms like excessive sleepiness, non-restorative sleep, fatigue, or insomnia. The second and third criteria involve breathing problems during sleep, such as waking up gasping, choking, or holding your breath, along with snoring or interrupted breathing. The fourth criterion looks at related health issues including hypertension, heart disease, stroke, diabetes, mood disorders, or cognitive problems. Severity is determined by tests like polysomnography or home sleep studies, which count obstructive breathing events per hour of sleep. A diagnosis requires five or more events per hour, with higher severity needing fifteen or more. If there are fewer than five events, sleep apnea isn't diagnosed. Night-to-night variation makes diagnosis tricky, so multiple nights of testing may be needed, especially with home tests that can better reflect typical sleep patterns.
Polysomnography
Night-time in-laboratory Level 1 polysomnography, or PSG, is the gold standard test for diagnosing sleep apnea. During the test, patients are hooked up to sensors monitoring brain activity, heart rhythm, oxygen levels, and breathing patterns including EEG leads, pulse oximetry, temperature and pressure sensors, respiratory impedance plethysmography or resistance belts around chest and abdomen, ECG lead, and EMG sensors on chin, chest, and legs. A hypopnea is defined by either a 30% reduction in airflow for over ten seconds with at least 4% oxygen desaturation, or a 30% reduction with at least 3% desaturation or an arousal from sleep. An "event" can be either an apnea—complete cessation of airflow for at least ten seconds—or a hypopnea, which is a 50% decrease in airflow for ten seconds, or a 30% decrease if there's also a drop in oxygen saturation or an arousal. The severity of sleep apnea is measured by the apnea-hypopnea index, or AHI, which counts the number of events per hour. An AHI under five is normal; between five and fifteen is mild; between fifteen and thirty is moderate; and over thirty events per hour is considered severe.
-
Read this chapter
Overview
Night terror, also called sleep terror, is a sleep disorder bringing intense panic or fear during the first hours of deep non-rapid eye movement sleep, lasting one to ten minutes sometimes longer in children. Classified as an NREM-related parasomnia, these episodes often begin in childhood and become less frequent with age. Factors like sleep deprivation, stress, fever, or certain medications may trigger them, occurring most often during delta sleep or slow-wave sleep in the first half of the night. Though nightmares are more common in kids, night terrors affect about 36.9% of toddlers at 18 months and 19.7% at 30 months, but only 2.2% of adults. The condition has been known since ancient times, though it wasn't distinguished from nightmares until the study of REM sleep began.
Signs and symptoms
During a night terror, people bolt upright with eyes wide open and a look of fear, often yelling or screaming in a way that's hard to understand. They may sweat, breathe rapidly, and have a fast heartbeat, sometimes thrashing limbs as if trying to escape danger. Even though they seem awake, they're confused, unresponsive, and might not recognize familiar faces. Sometimes they lash out at those trying to wake them, which can be dangerous. Most don't remember the episode later, though brief hallucinations may surface. Sleepwalking often occurs alongside night terrors, increasing injury risk. Polysomnography shows high EEG delta activity, increased muscle tone, and a doubled heart rate during these episodes. Adults with night terrors are more likely to have mental health conditions like PTSD, GAD, or personality disorders, and low blood sugar is also linked to both children and adults experiencing them. Night terrors are closely tied to sleepwalking and frontal lobe epilepsy.
Children
Night terrors happen most often in children between three and twelve years old, with the peak starting around three and a half. About 1 to 6 percent of kids go through them, affecting both boys and girls across all backgrounds. Very young children, under three and a half, may have episodes as often as once a week—sometimes up to three or four times—while older kids usually see one or two per month. Most children won’t remember what happened during the episode the next day. Parents sometimes bring their kids to doctors to check if seizures or breathing issues might be causing the terrors. But most kids grow out of them over time.
Adults
Night terrors in adults occur across all age groups, though they're less common than in children and often linked to poor sleep habits, stress, or untreated conditions like sleep apnea. These episodes can occur nightly if someone's diet, sleep quality, or mental health aren't addressed. The ICD classifies them as a mental and behavioral disorder, and many adults experiencing night terrors also show signs of other psychiatric issues, suggesting possible comorbidities. Some research points to a connection between night terrors and low blood sugar. During an episode, people may wake up screaming or thrashing, sometimes even running outside—more frequent in adults—and can act violently. Long-term use of intrathecal clonidine therapy has been tied to night terror symptoms, possibly due to changes in brain chemistry. In some cases, night terrors can signal underlying neurological problems and might be investigated with an MRI.
Causes
Night terrors may run in families, with studies showing a tenfold higher rate among first-degree relatives. Researchers have found an autosomal mode of inheritance, and twins show a significantly higher concordance rate in identical than fraternal pairs. Sleep deprivation or fever can trigger episodes, as can conditions like asthma or reflux, certain medications, or a narrow nasal passage. People with narcolepsy may also be at risk. While cultural differences in how night terrors are interpreted have not been found, the significance and cause of them may vary across cultures. Older children and adults often recall detailed images from their terrors, whereas younger ones usually remember little or nothing. Sleep terrors occur more frequently in boys than girls during childhood, but the ratio evens out in adulthood. Adults with a history of sexual abuse are also more likely to be diagnosed with sleep disorders, including night terrors.
Differential diagnosis
Night terrors aren't the same as nightmares, even though they both happen while you sleep. Nightmares usually occur during REM sleep and don’t involve much movement or sound, whereas night terrors happen during NREM sleep and often include screaming or thrashing. People having nightmares can wake up fully and remember their dream clearly, but those experiencing night terrors typically don’t recall anything afterward. It’s also important to tell night terrors apart from epileptic seizures, which can happen at any time and may show up on an EEG as abnormal brain activity. A medical professional might use that test to determine whether what's happening is a seizure or a night terror.
Treatment
Most kids outgrow night terrors without treatment, but families should know this disorder often fades with time. If an episode occurs, avoid waking the child, as that can increase agitation; instead, stay alert to prevent falls or injuries. Parents may want to secure the bedroom by closing windows, removing dangerous objects, and installing alarms or placing the child in a downstairs room. Poor sleep or stress can trigger episodes, so improving sleep habits and managing stress through therapy might reduce frequency. A sleep study called polysomnography could be recommended if they persist, and hypnosis has shown some benefit. Waking a child just before an episode may prevent it from happening. In rare cases, medications like benzodiazepines or tricyclic antidepressants may be used for extreme situations. Surgery to remove adenoids was once common but is now avoided due to its invasive nature.
-
Read this chapter
Overview
Insomnia, or sleeplessness, is a condition where people have trouble falling or staying asleep, leaving them tired, irritable, and struggling to focus. It may happen for just a few days or last longer than a month, and it's linked to risks like accidents and mood problems. It can show up on its own or be caused by things like stress, chronic pain, medications, or even caffeine and alcohol. Some people experience it more often as they get older, and women are more likely to have it than men. Experts recommend therapy and lifestyle changes first, though sleep aids can help too, especially newer ones like lemborexant and eszopiclone. Studies show that between 10% and 30% of adults deal with insomnia at any given time, and up to half will have it in a year. The idea of insomnia has been around for centuries, and cultural and social factors shape how people understand and experience sleep problems today.
Poor sleep quality
Poor sleep quality can stem from conditions like restless legs, sleep apnea, or major depression, and it’s marked by an individual not reaching stage 3 or delta sleep, which is essential for restoration. In major depression, there are changes in how the hypothalamic–pituitary–adrenal axis functions, leading to too much cortisol being released, which disrupts sleep. Another cause is nocturnal polyuria, or excessive urination at night, which also disturbs rest.
Subjectivity
People with sleep state misperception think they’ve been awake all night, even when tests show they've actually slept for hours. This condition, also known as paradoxical insomnia or subjective insomnia, affects around five percent of those who struggle with insomnia. Even though they get multiple hours of sleep each night and don’t usually feel sleepy during the day, they believe they haven’t slept much at all. They often think it takes them much longer to fall asleep than it really does, and they guess they’ve been asleep for less time than they actually were.
Genetics
Insomnia runs in families, with genetic factors accounting for nearly 60% of the risk in females and about 38% in males. A large study identified three key areas in the genome and seven specific genes linked to insomnia, showing it's influenced by many genetic parts working together. One gene, MEIS1, appeared strongly associated with insomnia in both men and women. This research also found that insomnia shares a genetic makeup with mental health conditions and metabolic traits. Scientists are now exploring how epigenetics—changes that affect gene activity without altering the DNA sequence itself—might influence sleep regulation and stress response in the brain.
Alcohol-induced
Alcohol might seem like a quick fix for sleepless nights, but it actually disrupts sleep in the long run. While it can help someone fall asleep faster, it reduces the time spent in deep sleep stages and suppresses REM sleep. People often wake up during the night due to headaches, needing to urinate, dehydration, or sweating. Alcohol also affects glutamine, a natural stimulant the body uses to stay alert. When someone stops drinking, the brain overcompensates by producing too much glutamine, which keeps them awake and prevents deep rest. This can lead to severe insomnia and vivid dreams during withdrawal, especially as REM sleep rebounds after alcohol use ends.
Caffeine
Some people have trouble sleeping or feel anxious after drinking caffeine. Even small amounts — like 100 milligrams a day — can disrupt sleep. That’s about the amount in a six-ounce cup of coffee or two to three twelve-ounce cans of caffeinated soda. People who don’t drink coffee regularly are especially sensitive to this effect. Over time, some coffee drinkers build up a tolerance for caffeine’s sleep-disrupting side effects, but others never do.
Benzodiazepine-induced
Benzodiazepines like alprazolam, clonazepam, lorazepam, and diazepam are often used to help people fall asleep, whether prescribed or taken without a prescription, but they can make sleep worse over time. While these drugs do help someone get to sleep by stopping the early stages of non-REM sleep, they mess with the natural rhythm of sleep once a person is asleep. They reduce total sleep time, push back the start of REM sleep, and cut down on deep, slow-wave sleep — the most restorative part of the night for feeling refreshed and balanced.
Opioid-induced
When pain keeps you awake, doctors sometimes prescribe opioids like hydrocodone, oxycodone, or morphine to help you sleep. These medications work by reducing pain and making you feel sedated, which can be helpful for people whose insomnia comes from discomfort. But while they may help you fall asleep faster, opioids actually disrupt the quality of your rest. They break up sleep into fragments and reduce the time spent in deep sleep stages, including REM sleep. Although these drugs might seem like a quick fix, relying on them can lead to long-term sleep problems down the road.
-
Read this chapter
Overview
Sleep deprivation happens when you don’t get enough sleep—either for a short time or over a long period. It can hurt your brain, your mood, and your health. The US National Sleep Foundation says adults should sleep seven hours a night, while kids and teens need even more. Lack of sleep is linked to serious problems like obesity, diabetes, heart disease, and depression. It can also cause anxiety, irritability, and trouble thinking clearly. While short-term sleep loss can be dangerous, chronic sleep deprivation has long-term effects that may speed up aging and damage the brain. Some people might feel more alert when sleep-deprived, but this doesn’t last. Studies show that not sleeping for days can impair cognitive and emotional functions, and in rare cases, total sleep deprivation can even be fatal.
Sleep deprivation vs sleep restriction
Reviews distinguish between sleep deprivation, which is going without sleep for a short time like one night, and sleep restriction, which is consistently getting less sleep over a longer period. Sleep deprivation tends to have a stronger immediate impact, but sleep restriction leads to similar effects when it continues over time. A 2022 study found that in most cases, the changes caused by either chronic or acute sleep loss followed the rhythm of the waking day, appearing and disappearing as the day went on.
Sleep debt
Sleep debt is what happens when you don’t get enough sleep over time. It builds up slowly, and even a single night of staying awake can leave you tired the next day. If you keep missing sleep for a few days in a row, that tiredness adds up. This is called sleep deprivation, and it’s something that keeps getting worse the longer you go without rest. A well-rested person usually spends less time in REM sleep, which is the stage where dreaming happens. Studies show that the less REM sleep you get, the more likely you are to feel awake and alert during the day. Short-term trouble sleeping can come from stress or changes in your routine or environment.
Insomnia
Insomnia is a sleep disorder where people struggle to fall asleep or stay asleep as long as they need. It can lead to sleep deprivation and comes in three forms: transient, acute, and chronic. Transient insomnia lasts less than three weeks, acute insomnia ranges from one to three weeks, and chronic insomnia persists for at least three months, occurring at least three nights a week. Stress, anxiety, depression, medications, poor habits, and genetics can all contribute to insomnia. Treatment options include cognitive behavioral therapy, lifestyle changes like sticking to a regular sleep schedule, or using medications such as sedatives or antidepressants.
Cognitive and neurobehavioral effects
Sleep is vital for thinking clearly, especially for the part of your brain responsible for reasoning, decision-making, and focus. In 2010, researchers found that just one night without sleep was enough to slow down reaction times, weaken logical thinking, and reduce mental flexibility. These problems come from less activity in the prefrontal cortex. Brain scans showed that sleep deprivation also lowers energy use in areas linked to attention. One study suggested that after 35 hours without sleep, people had trouble processing emotions and responding appropriately. Newer research indicates sleep loss might even cause permanent brain cell damage. The effects show up in the thalamus and prefrontal cortex, regions tied to alertness and higher thinking. A 2009 review listed many issues from sleep loss, including poor memory, slower learning, and trouble with creative problem-solving.
Attention
When you don't get enough sleep, your ability to focus suffers, affecting everything from cooking to taking notes. Studies show that attention and working memory drop off quickly as sleep hours decrease, with just 24 hours without sleep causing slower reactions and trouble switching between tasks. One study in 2025 found that even healthy people showed major attention problems after being awake all night. These lapses can be deadly—car accidents and industrial disasters often stem from inattentiveness due to sleep loss. Researchers measure this with the psychomotor vigilance task, where people must respond quickly to random lights. But here's the twist: people often don't realize how impaired they are. Even though someone might feel fine, their performance can be just as bad as someone who's totally sleep-deprived. And because we tend to judge our own abilities subjectively, we may think we're okay to drive or focus when we're not.
Experimental based evidence
Studies in rodents show that after three hours of sleep loss per night, the brain's response to injury shifts from helpful to harmful, with cell death occurring later. In mice, specific brain regions like the hippocampus and locus coeruleus suffer neuron loss after two days of REM sleep deprivation, though these findings may not fully apply to humans due to differences in sleep patterns and cell death mechanisms. Mice also show lasting neuronal apoptosis that continues even after sleep deprivation ends, often undercounted in studies. While such detailed brain studies can't be done on people, long-term research links poor sleep quality to gray matter loss in areas like the precuneus, more so than aging. One experiment tested whether sleep loss affects decision-making by having 52 participants—half deprived of sleep—complete a shooting simulation. Results confirmed that lack of sleep reduced accuracy and increased impulsive reactions, especially under threat conditions.
Effects on the body
Sleep plays a vital role in repairing the damage our bodies accumulate while we're awake. Reactive oxygen species and DNA damage are fixed during sleep, especially during REM phases. When we don't get enough sleep over time, that damage builds up until it triggers cell death. REM deprivation leads to higher levels of noradrenaline, which comes from neurons in a brain region called the locus coeruleus. This increase activates a cellular pump called Na⁺/K⁺-ATPase, which starts a chain reaction leading to programmed cell death and blocks the body's ability to clean out damaged components. Non-REM sleep allows enzymes to repair damage caused by free radicals, but being awake too long increases metabolic activity that actually harms those same repair enzymes. Studies have shown that rats suffer direct brain damage from lack of sleep.
-
Read this chapter
Overview
Medicine is both science and practice, focused on caring for patients, diagnosing and treating their illnesses or injuries, and promoting health. It uses biomedical research, genetics, and medical technology to prevent, treat, and manage disease—through drugs, surgery, therapy, or even radiation. Though medicine has ancient roots, dating back to prehistoric times when it was more an art shaped by culture and belief, it has evolved into a blend of creativity and science. For instance, while suturing is a skill learned through practice, science explains what happens at the cellular level. Traditional or folk medicine, once the only kind, still exists today alongside modern approaches, though some alternative treatments raise concerns about safety and effectiveness.
Etymology
Medicine, the science and practice of diagnosing, treating, and preventing disease, comes from the Latin word medicus, meaning "a physician." The older term physic once referred to what we now call medicine, and also to the field of medicine itself. That’s how the word physician came to be, derived from that same root. So when you think of the care your body receives while you sleep, it's rooted in these ancient words, tracing back through centuries of healing and understanding.
Institutions
Healthcare systems are shaped by government laws and funding structures, sometimes supported by groups like the Catholic Church, which remains the largest non-government provider of medical services worldwide. In many developed countries, universal healthcare ensures everyone gets care based on need rather than ability to pay, using single-payer or compulsory insurance systems. Some nations deliver care through private practices, state hospitals, or charities. Tribal societies often offer no such guarantee—healthcare is limited to those who can afford it or are covered by government or tribal funds. Transparency in medical information affects patient choices and doctor behavior. While the U.S. has faced criticism for its lack of openness, new laws may change that. There's ongoing tension between making information public and protecting patient privacy from misuse by insurers or marketers. The medical field includes many roles—doctors, nurses, therapists, psychologists—each with their own training, ethics, and professional groups.
Delivery
While you sleep, your body processes through a three-level medical care system: primary, secondary, and tertiary. Primary care is provided by doctors, nurse practitioners, and other health professionals who see patients first in clinics or schools, handling about 90% of visits for everyday illnesses, prevention, and education. If more expertise is needed, patients are referred to secondary care including specialists in hospitals or clinics offering services like surgery, emergency care, and labor and delivery. For complex conditions, tertiary care involves specialized teams in large hospitals or regional centers managing organ transplants or high-risk pregnancies. Modern healthcare relies on patient information storage, still often on paper but increasingly electronic. In poorer countries, access remains difficult even without user fees, and prescription practices vary by region, with some areas using systems where doctors also provide medications directly to patients.
Branches
While you sleep, your body is busy working with countless health professionals who team up to deliver modern care. Nurses, paramedics, lab scientists, pharmacists, and therapists all play key roles, along with surgeons, radiographers, dietitians, and bioengineers. Doctors themselves split into many branches—cardiology, surgery, radiology—and often work together to treat patients. Each specialist brings unique skills, and teams form around specific problems like heart issues or injuries. Some doctors return to basic science research after training, while others focus on interdisciplinary care where different fields merge. These specialties vary by country, but they all support the complex job of healing and caring for people.
Specialties
Medicine includes many specialties with professional bodies like Royal Colleges, though not all use "Royal" anymore. These colleges set entrance exams, with new specialties emerging from technological advances or changing practices—like anesthesia, which began as part of surgery before becoming its own field. Traditionally, doctors train in either medicine or surgery, with medicine focusing on non-operative care and requiring internal medicine training often proven by passing the MRCP exam. Surgery involves operations, with most surgeons training in general surgery, leading to membership in the Royal College of Surgeons of England, known as MRCS. Some specialties like radiology or pathology don't fit neatly into either category but came from these roots—such as anesthesia, which once belonged to the Royal College of Surgeons before forming its own college and now uses the FRCA exam for membership.
Internal medicine specialty
Internal medicine prevents, diagnoses, and treats adult diseases affecting internal systems. In North America, specialists are called internists, while in Commonwealth nations they're often just physicians. These doctors typically work in hospitals managing complex cases requiring detailed testing and treatment. While some internists handle broad nonsurgical issues, most now focus on specific areas like heart, kidney, or digestive problems. For example, gastroenterologists treat gut issues and nephrologists focus on kidney diseases. In the UK and other countries, doctors specializing in children or older adults are also called specialist physicians or internists, but in North America, general pediatrics often functions as primary care. North American training includes at least three years of residency after medical school, followed by additional fellowship training in subspecialties. US resident doctors average about sixty hours weekly, while UK doctors are legally limited to an average of forty-eight hours per week.
Education and legal controls
Medical training differs globally but usually starts with a university degree, followed by supervised practice or residency, and sometimes further postgraduate education. In Canada and the U.S., students must earn either an M.D. or D.O. degree from an accredited school. Because medicine changes fast, doctors need ongoing education, which they get through journals, seminars, conferences, and online courses. A database of learning goals from national medical societies is available at http://data.medobjectives.marian.edu/. Most countries require doctors to be licensed, meaning they must have a proper degree and pass exams administered by a medical board. This keeps the profession regulated and protects patients from unqualified practitioners. In the European Union, being a doctor is a regulated profession under Directive 2005/36/EC. Doctors who harm patients can face legal consequences for medical malpractice.
-
Read this chapter
Overview
In 1997, a slasher film called I Know What You Did Last Summer hit theaters, directed by Jim Gillespie and written by Kevin Williamson, who adapted a novel from 1973. The movie stars Jennifer Love Hewitt, Sarah Michelle Gellar, Ryan Phillippe, and Freddie Prinze Jr. as four teenagers haunted by a killer with a hook one year after covering up a car accident they supposedly caused. It was released by Columbia Pictures on October 17, 1997, and made $125.3 million worldwide on a budget of $17 million. Critics gave it mixed reviews, but the film helped bring back the slasher genre in the 1990s, with Scary Movie parodying it in 2000. The story continued with three sequels and a TV series in 2021.
Plot
On July 4, 1996, Julie James and friends Ray Bronson, Helen Shivers, and Barry Cox drove to the beach celebrating Helen’s beauty pageant win. On the way back, Barry’s drunken behavior caused Ray to hit a pedestrian, which they assumed was fatal. They hid the crime from Julie’s friend Max and tried to dispose of the body, but the pedestrian woke up and grabbed Helen. Barry pushed him into the water, and the group swore never to speak of it. A year later, Julie returned home from college and received a letter saying, “I know what you did last summer!” She and Helen took it to Barry, who suspected Max was joking. Later that night, Max was killed by a figure in a fisherman’s slicker wielding a hook. That same night, Barry was ambushed, his car stolen, but he survived. Julie researched newspaper articles and believed the man they hit was local David Egan. Helen and Julie visited Egan’s sister, Missy, under the guise of a broken-down car, where she mentioned a friend named Billy Blue had paid respects. That night, the killer sneaked into Helen’s house and cut off her hair while she slept. The next morning, Julie found Max’s corpse in her car, covered in crabs, wearing Barry’s stolen jacket. When she showed it to the others, the body was gone. Julie confronted Ray, who claimed to have received a similar note. She went back to Missy, while Barry and Helen participated in the 4th of July parade. Missy revealed that David had allegedly committed suicide after his girlfriend Susie Willis died in an accident, showing a suicide note. But Julie realized it was not a suicide note—it was a death threat. She learned the man they struck wasn’t David Egan but Ben Willis, Susie’s father, who had killed David to avenge her. She went to tell Ray, noticing his boat was called Billy Blue. A fisherman knocked Ray unconscious and invited Julie to hide on his boat. There, she found photos of herself and her friends, and pictures of Susie. The boat left the dock, and the fisherman revealed himself as Ben Willis, seeking revenge for leaving him for dead. He chased Julie below deck, where she discovered Helen and Barry’s bodies in an icebox. Ray awoke and rescued her, using rigging to sever Ben’s hand and send him overboard. He explained he had posed as David’s friend to visit Missy out of guilt. The couple reconciled, relieved they hadn’t actually killed anyone. One year later, Julie was back in college in Boston, and as she entered the shower, she noticed the words “I still know” written in the steam on the shower door—right before a dark figure crashed through it.
Background
Kevin Williamson wrote the screenplay for I Know What You Did Last Summer, which Columbia Pictures picked up in a hurry after Scream made a big hit in 1996. The movie was based on a 1973 novel by Lois Duncan, a suspense story aimed at young readers about four teenagers who get involved in a hit-and-run accident with a boy.
Development
Erik Feig approached Mandalay Entertainment with a plan to adapt Duncan's novel, assigning Williamson the task of reshaping it into a 1980s-style slasher film. Drawing from his father's experience as a commercial fisherman, Williamson shifted the story's setting to a small coastal town and turned the killer into a fisherman armed with a hook. This choice connected to the urban legend "the Hook," which the main characters share at the start of the movie around a campfire. Williamson explained that scene was meant to set up what was coming: "Basically what I was doing was I was setting the framework to say, 'All right, audience: That's that legend. Now here's a new one.'" While Scream used satire to parody the genre, this film stayed true to the classic slasher format. Director Gillespie said in 2008 that he loved how the movie took familiar elements and still managed to scare audiences. He felt Williamson's script didn't feel like a typical slasher horror film but instead told "a really good story" with deeper meaning.
Pre-production
Producer Stokely Chaffin said the team looked for actors who were "beautiful, but likable." Director James Wong had never read the novel the film was based on, but roughly 60 to 65% of young women who auditioned had. Jennifer Love Hewitt, known then mainly for Party of Five, was chosen as Julie James because producers, director, and writer all agreed she could project vulnerability. She was initially considered for Helen's role. Melissa Joan Hart turned down the part, feeling the movie copied Scream. For Barry, they wanted a 6-foot-2 quarterback-type look, but Ryan Phillippe won the role based on his audition, even though he wasn't that tall. Freddie Prinze Jr. was cast as Ray because Wong felt he had an "everyman" quality like the character. Sarah Michelle Gellar was the last lead actor cast as Helen; like Hewitt, she was known from TV. Wong said he wanted an actress who could be warm yet capable of being a "bitch." Anne Heche was chosen for Missy, a role requiring only two days of work but key to the plot, which she recalled as needing her to "be scary."
Filming
Scottish director Jim Gillespie, suggested by writer Williamson, was hired to film the movie, and Hewitt later said he was her favorite director. Principal photography began March 31, 1997, taking ten weeks during late spring-early summer, with about seven weeks at night, which Gillespie said was tough on cast and crew, especially in small-town locations. He worked with cinematographer Denis Crossan on a color scheme heavy in blues and few bright colors. The beginning scenes used Sonoma County to stand in for North Carolina; the sun setting on a rugged coast was filmed at Kolmer Gulch near Jenner on Highway 1. A car crash scene also took place there, and the campfire scene was inspired by a painting, with an old boat bought and cut in half for the beach setting. Most of the rest was filmed in Southport, North Carolina, including the Amuzu Theater, Old Yacht Basin, and Southport Fish Company. Julie’s house is on Short Street north of Southport Marina, and daytime scenes there used real boats orchestrated by a marine traffic coordinator. Shiver’s Department Store, discovered by Gillespie, became the main setting for Helen's chase scene, so he reworked parts of the script to include it. The exterior college campus was at Duke University, and the hospital scene was filmed at Southport's Dosher Memorial Hospital. There is a climactic moment where Hewitt’s character screams into traffic, “What are you waiting for?!” That idea came from a child who won a contest to create a scene; Hewitt said she didn’t like it but went along with it, and noted that the scene became "the biggest part of the movie" and was ultimately "a great idea." The final boat scene was shot on an actual vessel on the Cape Fear River, which proved difficult for actors and crew. Gillespie said they nearly lost the boat while docking due to rough waters, so they had to leave and return the next day to finish filming.
Post-production
While filming What Happens While You Sleep, director Gillespie avoided showing much onscreen blood, but a scene where Elsa is killed had to be re-shot after test audiences found it medically impossible. Originally filmed from behind with no blood on the glass, the scene was reshoot in post-production with visual effects. The team also added a murder in a crab factory, which wasn’t in the original script, to build tension earlier in the film. The ending was changed too—initially Julie received an email saying “I Still Know,” but that was replaced with her finding the same message written on a shower stall before the killer breaks through the glass. That scene was filmed on a soundstage next door to where actress Hewitt was shooting Party of Five.
Marketing
Before its release, the movie got a summer marketing push from Columbia Pictures and Mandalay Entertainment, who advertised it as being “From the creator of Scream,” referencing writer Kevin Williamson. But Miramax Films later sued, saying that claim was misleading because it made it seem like Wes Craven, the director of Scream, had worked on this film.
-
Read this chapter
Overview
A nocturnal emission, sometimes called a sleep orgasm, is a natural occurrence that happens while you're asleep. For males, it involves ejaculation and orgasm, and for females, it can include vaginal lubrication and/or orgasm. These events are often linked to sexual dreams, which are commonly referred to as wet dreams or sex dreams. It’s a normal process your body goes through without any conscious effort on your part.
Context
Nocturnal emissions, commonly known as wet dreams, can occur during REM sleep, especially after sex dreams that activate the sympathetic nervous system and lead to ejaculation. These events can begin as early as age ten and are most frequent during adolescence and young adulthood, though they may happen at any time after puberty. Men might wake up during such an episode or sleep through it entirely. For women, however, the scientific consensus is less clear—few researchers believe that a woman would necessarily awaken during an orgasm, and for it to count as a wet dream, she would need to have actually experienced an orgasm. Vaginal lubrication alone does not indicate that an orgasm has occurred.
Composition
Because it’s hard to collect ejaculate from nocturnal emissions, not many studies have looked at what's inside it. The biggest study looked at samples from ten men with idiopathic anejaculation. They found that the semen concentration was the same as samples from those same men collected through penile vibratory stimulation. However, the proportion of sperm that were motile and had normal morphology was higher in the nocturnal emission samples.
In males
When a male stops masturbating, it can trigger a spike in wet dreams after weeks of abstinence as the body adjusts. Some men experience them only at certain ages, others throughout their lives past puberty. In the U.S., 83% of men report having had nocturnal emissions, with frequency varying by age and marital status. For example, 15-year-old single males average about once every three weeks, while 40-year-old single males average once every six weeks. Married men see even lower frequencies, with 19-year-olds averaging about once a month and 50-year-olds once every two months. In Indonesia, 93% of men have had them by age 24. Alfred Kinsey noted a correlation between masturbation and wet dream frequency, suggesting that higher masturbation rates may be linked to lower nocturnal emission rates, though he also found little evidence that frequent masturbation reduces the occurrence of wet dreams. A study from 1998 showed that testosterone treatments increased the likelihood of nocturnal emissions in boys. Additionally, 13% of males have their first ejaculation through a nocturnal emission, which tends to happen later than if it were from masturbation. A diary from 1853 shows 24 wet dreams during regular masturbation, while in 1855, after celibacy, the count nearly doubled to 42, despite the same total sexual releases. This suggests a biological balance between voluntary and involuntary release.
In females
During sleep, your body continues working while you rest — including processes that might surprise you. In 1953, Alfred Kinsey's research revealed that almost 40% of women he surveyed had experienced at least one nocturnal orgasm or wet dream. These women typically reported having them several times per year, with the first occurring as early as age thirteen and most commonly by twenty-one. Kinsey described this phenomenon as sexual arousal during sleep that awakens a person to the experience of orgasm. Later, in 1986, Barbara L. Wells published findings suggesting that up to 85% of women had experienced such an event by age twenty-one, based on reports of waking during or after orgasm. Studies also show that men generally have more frequent spontaneous nocturnal sexual experiences than women. Still, identifying female wet dreams can be harder because while ejaculation is often linked with male orgasm, vaginal lubrication alone may not signal the same for women.
Jewish and Samaritan
Under the Mosaic law, a man who experienced a nocturnal emission was deemed ritually unclean until evening. He had to immerse his entire body in water and wash any clothing or skin that came into contact with semen. The same rules applied if such an emission occurred while encamped against enemies—then he was required to leave the camp and remain outside until sunset, when he could return after bathing. A third passage specifically addressed priests, stating those with certain discharges, including nocturnal emissions, must refrain from eating holy offerings until they underwent ritual immersion in a mikveh and until nightfall. In later Jewish tradition, the Tikkun HaKlali, known as "The General Remedy," was created in 1805 by Rebbe Nachman to be recited as repentance for such occurrences.
Patristic Christian
Saint Augustine held that male nocturnal emissions did not defile a man’s conscience, since they were not intentional sexual acts like masturbation. This same idea was later shared by Thomas Aquinas, who explained in his work that while asleep, people often take imagined images for real. Because reason is absent during sleep, such actions are not imputed as sins—just as with those who are mentally ill or intellectually disabled.
Indian traditions
In Hindu tradition, those experiencing nocturnal emissions were advised to bathe and recite mantras asking for the return of their virility. For Buddhist monks, masturbation violated the Vinaya rules, but a nocturnal emission did not. After the second Buddhist council, a split occurred among followers, partly due to debate over whether an Arhat could have wet dreams and what might cause such emissions in them.
Read
Free to download, keep and share. For general information only — not professional medical, legal or financial advice. Please consult a qualified professional.