You can use iTunes gift cards to pay for an Apple Music subscription directly in the Apple Music app.
You can redownload music on your iPhone that you've purchased from iTunes or saved with Apple Music. Here's how to do both.