The term refers to a physician slogging in the evenings [in the moonlight ;-)] for some extra $$ as a replacement for another physician. Do not confuse this with overtime - in moonlighting, physician A allows physician B to work his hours and gives physician B a 'cut' or a pre-agreed percentage of his pay.
