Is a step parent a legal parent?

I'm filling in information on my children. It's asking who the legal parents of the child is. Is the step parent a legal parent or just the biological parent?