The yellow wallpaper symbolizes the confinement and oppression faced by women in the 19th century. It represents the struggle for identity and the fight against mental illness. As the protagonist descends into madness, the wallpaper becomes a mirror of her entrapment, illustrating the consequences of enforced isolation and lack of autonomy.