Most songbirds are diurnal, meaning they are active during the day and sleep at night. They select places where they are hidden from predators—that place differs depending on the type of bird.
Naps are common in birds as well.
Other birds are nocturnal; they are active at night and sleep during the day.
Take a look at this short video to perhaps answer some questions you may have about birds and sleep!