Eunuchs were castrated males who were often recruited as servants or officials in the imperial palace. In the Forbidden City, they held important roles such as overseeing the emperor's personal affairs, managing the palace staff, and guarding the emperor's harem. They were considered to be loyal to the emperor and were often favored by him for their obedience and trustworthiness.
However, life as a eunuch was not easy. They were forbidden from marrying or having children, which often left them feeling isolated and alone.