Zopiclone is a a doctor-prescribed compound primarily utilized for the temporary management of insomnia . It works by affecting specific chemicals within the brain , helping people to get unconsciousness and remain resting . Potential side effects may include drowsiness , lightheadedness , and a parched oral cavity . Consequently , it's important t