Typically, a piece written in sonata form has three main sections: exposition, development, and recapitulation. The exposition usually has two themes: the first in the tonic key (the main tonal area of the piece) and the second in a contrasting key, which are connected by a bridge passage.