The registration of a trademark is not compulsory, but it can provide important legal protections and benefits, including exclusive rights to use the mark in commerce and the ability to enforce those rights in court.