Often a musical form becomes so popular with composers that it is given a name. For example, if a piece of music is called a "theme and variations", you would expect it to have an overall plan quite different from a piece called a "rondo".
(Specifically, the theme and variations would follow an A A' A'' A'''...plan, with each section being a new variation on the theme in the first section. A rondo follows an A B A C A ... form, with a familiar section returning in between sections of new music.)
Also, many genres of music tend to follow a preset form, like the " typical pop song form" in the figure above. A symphony, for example, is usually a piece of music written for a fairly large number of instruments. It is also associated with a particular form, so knowing that a piece of music is called a symphony will lead you to expect certain things about it.
Please note that there is some confusion about this: a symphony is not a large group of people who often play classical music together; that is an orchestra. The confusion occurs because many orchestras call themselves "symphony orchestras" because they spend so much time playing symphonies.
If a piece of music is called a symphony, you might expect three or four (depending on when it was written) main sections, called
movements. You'd expect a moment of silence in between movements, and you would expect each movement to sound very different; for example if the first movement is fast and loud, you might expect that the second movement would be slow and quiet. If you have heard many symphonies, you also would not be at all surprised if the first movement is in concerto form and the third movement is based on a dance.
Other kinds of music are also so likely to follow a particular overall plan that they have become associated with a particular form. You can hear musicians talk about something being concerto form or sonata form, for example. Particular dances (like a minuet, gigue, or waltz), besides having a set tempo and time signature, will often have a set form that suits the dance. And many marches are similar enough in form that there are names for the expected sections (first strain, second strain, trio, and so on).
But it is important to remember that forms are not sets of rules that composers have to follow. Some symphonies don't have silence between movements, some don't use the concerto form in any of their movements, and Beethoven's Ninth Symphony includes singers. Plenty of marches have been written that don't have a trio section, and the development section of a sonata movement can take unexpected turns. After all, in architecture, "house" form suggests to most Americans a front and back door, a dining room off the kitchen, and bedrooms with closets, but an architect is free to leave out the dining room, and put the main door at the side of the house and the closets in the bathrooms. Whether a piece of music is concerto form or sonata form, a theme and variations, or a rondo, the composer is always free to experiment with the overall architecture of the piece.
Being able to spot that overall architecture as we listen - knowing, so to speak, which room we are in right now - gives us important clues that help us understand and appreciate the music.