Apple had plans to expand the capabilities of Apple Music with third-party apps. We’re now seeing that with the latest update of Shazam. The music discovery app now lets you easily add songs to your Apple Music library and into any of your preexisting playlists. A new My Shazam Tracks playlist will also be available in the Apple Music app, when you Shazam songs, which is much like what you can do with Spotify. You can also listen to full tracks you Shazam without leaving the Shazam app as these are streamed directly from Apple Music.
Source: 9to5Mac