Complex sentence: The mother or an elderly relative often raised both boys and girls, and unwanted children were often sold as slaves.
Split into simpler sentences: The mother or an elderly relative often raised both boys and girls. Unwanted children were often sold as slaves.