Sonata is a sedative medicine used to treat people who have trouble falling asleep. It is also referred to as hypnotic. Sonata helps people to fall asleep faster by working on certain centers in the brain. This makes one to feel relaxed in the process one feels dizzy and slowly fall asleep.