Explanation:
Sonata, type of musical composition, usually for a solo instrument or a small instrumental ensemble, that typically consists of two to four movements, or sections, each in a related key but with a unique musical character.