You can add music to iMovie from a variety of different sources, depending on the device and type of sound you're adding.
Most Mac computers come preloaded with two simple audio-recording apps. Here's how to record audio on your Mac using either Voice Memos or QuickTime.