Spotify is a music streaming service launched in 2008 in Stockholm, Sweden by Daniel Ek, originally failing but growing its userbase. It provides free streaming supported by ads, or premium subscriptions without ads. Spotify purchases music licenses to stream its library to users, who can listen online or offline with a premium account, keeping it legal. Its goals have been to offer free music while gaining profits from ads and premium subscriptions.