There's an art to napping.

Studies have found different benefits—and detriments—to a nap's timing, duration and even effect on different people, depending on one's age and possibly genetics.

"Naps are actually more complicated than we realize," said David Dinges, a sleep scientist at the University of Pennsylvania's Perelman School...