Eszopiclone is a medicine used to treat a particular type of sleep problem, which is insomnia. It he…