Question: why do pajamas have pockets?
Answer: Some people have a condition called acid reflux which gets worse at night so they might have their antacid tablets handy for just before they go to bed. And then of course they might want a place to keep condoms, some lube or perhaps a cock ring.