In the window that opens, you can browse through sound effects, Garage Band music, and your iTunes library to choose a soundtrack for your video. Drag the chosen files to the box on the right.
You can choose multiple songs to use in your iMovie. If the video runs longer than the chosen songs, the run-over video will not have any music playing under it. If your songs run longer than the video, the music will stop when the video does.