Obtaining a music license is compulsory for businesses like restaurants and cafes that play recorded music publicly, as it gives credit to composers and protects their copyrights. There are two main types of licenses businesses need - a PPL license to play prerecorded music, and an IPRS license if they have live music performances. Failure to obtain the proper license could result in fines or imprisonment under the Copyright Act.