LimeWire was a peer-to-peer file-sharing client. Downloading copyrighted music via LimeWire without permission was—and remains—illegal in most jurisdictions. While the software itself was legal, the vast majority of shared files were unauthorized copies.
Legal alternatives include purchasing from iTunes, Amazon Music, or Bandcamp, or streaming via Spotify, Apple Music, or YouTube Music.