Hegai has charge of the women and is a eunuch of the palace. After Esther is brought into the palace she wins Hegai's favor, and he provides her with the cosmetics, food and maids she needs, so that she finds favor in the process of choosing a queen.