In "The Yellow Wallpaper," Charlotte Perkins Gilman critiques the oppressive nature of 19th-century gender roles and mental health treatment. The protagonist's descent into madness mirrors the confinement women faced, highlighting how patriarchal control stifles creativity and autonomy, ultimately advocating for women's rights and self-expression.