Various documents are required to work in the United States, such as an employment authorization and a special visa.
Foreign workers require certain documentation in order to work in the United States, for example, the Employment Authorization Document (EAD). In this sense, only citizens and permanent residents can work without having this document.
Employers who offer a job to foreign nationals must apply for the EAD with the United States Citizenship and Immigration Services (USCIS). In this way, the type of visa that the worker will receive also depends on the employer.
For example, temporary workers have nonimmigrant visas such as H-1B, H2, H-2B, H3, E, L-1, J1, O, P, and R. Permanent workers, on the other hand, obtain a visa in employment function such as Eb1, Eb2, Eb3, Eb4, or Eb5.
Even students on academic stays or exchanges in the United States can qualify to obtain an EAD. Students with F-1, M-1, or J-1 visas can obtain the permit if you approve their application for Optional Practical Training (OPT), or Curricular Practical Training (CPT).
Also, recipients of Deferred Action (DACA) and Temporary Protected Status (TPS) can apply for an EAD. Same case with asylees or refugees in the United States.
See more information on this topic on the USCIS website: https://www.uscis.gov/es/trabajar-en-estados-unidos