You'll notice, for example, that most office clerks are female. Up until WWI, office workers were mainly men. It was discovered about then that women would do the same work for less, so now the number of men in an office setting is lower. Since WWII, women have moved into the factories, many replacing men because they could be paid less.