But DRM (Digital Right Management) is just something that exists in the US only. In most European countries, users are allowed to keep the digital content as long as it's for personal use only.
On Napster, you can download songs to your computer. You still can on Spotify, but it won't allow you to play what you downloaded from Spotify outside the Spotify app. Basically, you're paying the subscription to play the song instead of owning the song.
Napster was found to be guilty of illegal activity because people were downloading content to store on their computer. Similar but torrent website operate in the same way and many of these are being found guilty of infringing on copyright laws as well. Spotify does not allow users to download content.the content available on Spotify is available only through streaming service, so the files are not able to be stored on the computer.
Spotify charges a fee to users and charges advertisers, so they are able to pay artists for the use of their content. Streaming services are not illegal because artists still get paid, whereas Napster was violating copyright laws.