The labour ministry's permission to employ someone. It comes before the visa, and it depends on your quota.
A work permit is the approval from the Ministry of Human Resources and Emiratisation for a company to employ a named person. It is separate from the residence visa, which immigration issues afterwards.
What the price covers:
Fees vary with the company's classification.
The labour card is the record of the approved employment. See the labour card page.
Usual causes are no quota, a mismatch in job title or missing attested qualifications.