To play YouTube videos in the background while doing other things on your iPhone, you can use YouTube premium or Safari's desktop view mode.
You can download music from Google Play Music for offline listening on many different devices, including the iPhone. Here's ...
Deezer is better than YouTube Music, offering a better design and more features. However, I'm not switching for this simple reason.