Section 16 of the Hindu Marriage Act, 1955 legitimizes children born from void or voidable marriages, provided certain conditions are met. This provision ensures that children do not suffer for the marital status defects of their parents. The legitimacy status affects inheritance and other rights. Other sections like 15 deal with divorce procedures, and 26 deals with custody, not legitimacy.