You can redownload music on your iPhone that you've purchased from iTunes or saved with Apple Music. Here's how to do both.
You can add music to iMovie from a variety of different sources, depending on the device and type of sound you're adding.