Allow user to add multiple child tables

I am new to frappe framework. I am creating an app which requires me to allow users to add multiple child tables with same columns. Basically, user is creating a product doctype object, in this there are multiple processes and all process has multiple materials required in it. So user should be able to add process and in that process add all the raw materials related information. I don’t know how to create this in frappe. Please advice.

Product Doctype:
Product_Name
Other fields
Array of Processes (which contains child table of raw materials)