The animals were unhappy because it was raining, windy, and cold, and they had no place to sleep. They decided to form a band and go to the town of Bremen to play music together. When they came upon a house with robbers counting money inside, they scared the robbers away. The animals realized the house was warm and decided to stay there forever, playing music and singing.