At some point in the game, you open up a cell that frees multiple zombies, and you will have to go another room where those zombies are roaming around so you have to sneak around them to turn on a switch. That's where the sleeping pills can be used to put the zombies to sleep just to make things easier