Can I use node-red in product? Should I need to buy some licenses?

I am creating an IOT Industrial Product, I need to program the device using Node-Red can I use the node-red for the production and product?

You need to carefully read :

Since you are creating a commercial product I'd recommend that you review the license with a lawyer. I'm not a lawyer and can not advise you further on the matter of licenses, copyright and law.