What does Ward of the state mean?

a child who, as determined by the State where the child resides, is a foster child, is a ward of the State or is the custody of a public child welfare agency. The term does not include a foster child who has a foster parent who otherwise meets the definition of parent.