Explained: What is moonlighting and is it legal in India?

The work from home (WFH) operating model has given rise to moonlighting among white-collar professionals in India, which is now leading to compliance issues within companies and has also stirred a debate over whether this is the future of gig economy.