 Insects do not seem to exhibit REM sleep.However, fruit flies appear to sleep, and systematic disturbance of that state leads to cognitive disabilities.There are several methods of measuring cognitive functions in fruit flies.