Spotify has a free version, which shuffles the music you want to hear, yet they run ads occasionally. This helps them gain revenue from your listening. If you want an ad-free experience, then you would have to upgrade to a paid membership.