Moonlighting is working in the hospital, outside of your normal residency hours, for additional pay. Working in the ED is an example.
Normally, one is required to have a medical license for the state they are in and may be required to provide their own malpractice insurance.
Some programs allow this, but many do not.