To put it another way, holding a commercial pilot license means you are legally allowed to get paid as a pilot.
A licensed commercial pilot may act as pilot-in-command of an aircraft for compensation or hire, as well as carry persons or property for compensation or hire. To put it another way, holding a commercial pilot license means you are legally allowed to get paid as a pilot.