To download music onto your iPhone, you can use iTunes and Apple Music, or a music streaming app like Apple Music or Spotify.
You can redownload music on your iPhone that you've purchased from iTunes or saved with Apple Music. Here's how to do both.