This women's society within a society was ruled by a rigid hierarchy based on laws of strict obedience. Those who disobeyed were severely punished, including a death penalty by drowning. At the top of this heirarchy was, not a man, but a woman --- the ruling Sultan's mother. She went by the title of the Valide and also held the title of Queen. Her power came from her son the ruler, but she was also a formidable political figure in her own right. The women at the lowest rank came under her rule as slaves --- captured as prizes during conquests of other countries and sold into captivity. Once there, these captives did have a chance to better their fate and advance through the ranks by improving their education, beauty and skills. Through a graduation system, girls who qualified were presented to the Sultan. If they pleased him, they might advance to the status of concubines. If they became pregnant, they became wives. There was no discrimination against legitimate versus illegitimate heirs as in European society --- all sons were equal contenders to the throne.That in itself was a hotbed for power struggles, both amongst the sons and amongst their mothers.
As a whole, the Western impression of life behind the purdah is one of laziness, luxury, sex and imprisoned women. The romanticism surrounding the image of this mysterious feminine domicile comes from travelers of Victorian times who were never allowed access to an actual living quarters, and therefore let their imagination, fantasy and cultural values and judgments paint a romantic picture of the women's slave pen in literature, travel journals and art.