Ans: No, it is not mandatory. You can always license the idea without a patent because most of us don’t have enough money to secure a patent. But, if not patent, at least go for copyright or an intellectual property right that will prevent companies from stealing your idea.