Complex sentence: The law treats babies found in baby boxes as foundlings, who are raised by the State while going through the legal process of adoption.
Split into simpler sentences: The law treats babies found in baby boxes as foundling. These kinds of babies are raised by the State while going through the legal process of adoption.