Why Did Boys Play Shakespeare's Female Roles?

Boys played the female roles in Shakespeare's plays when the plays were first produced because women did not perform in the theater during that era. Acting was not considered a reputable profession, and women typically stayed away from this type of work.