If taking money from Roth IRA for education for a child I'm a guardian of,will there be tax penalty?

My ex partner and I didnt marry, but I have legal guardianship over my son. I want to open a Roth IRA. Trying to determine as the legal guardian if I

My ex partner and I didn't marry, but I have legal guardianship over my son. I want to open a Roth IRA. Trying to determine as the legal guardian if I can withdrawl funds for my child for educational expenses prior to age 59 1/2 with the tax penalty.

or:My ex partner and I didn't marry, but I have legal guardianship over my son. I want to open a Roth IRA. Trying to determine as the legal guardian if I can withdrawl funds for my child for educational expenses prior to age 59 1/2 with the tax penalty.

Tags:guardian,