Why is It Called a Wake?

It is called a wake because the body is set up in a room to be watched in hopes of that person waking up. It used to be accompanied with drinking.