Flies are primarily diurnal, preferring to do all their activities during the day. At night, flies take residence under leaves and on tree trunks; sunlight perks up fly activity.