How did marching music affect World War 2 and what was its purpose?

Music played an important role during WW2. Songs were played on the radio and was used to get peoples spirits up during wartime.