Moonlighting is the practice where an individual takes up a secondary job while being on the payroll of a company.