Where do flys sleep?

Flies don't sleep, but rest at spots that they are able to perch on at night. They are not able to see in the dark, therefore, they don't fly around as they do during the daylight hours.