In the Terran Empire, captain's woman was an unofficial position aboard Starfleet ships.
Normally, this woman would have other duties aboard ship, but her main role would be to provide companionship and sexual services to the captain. However, captain's women often proved to be deceptive and manipulative, using their position to build their own power base on the ship. They would often react very quickly to a change in the command situation on the ship, and would offer their services to a new commander almost immediately, but only if it served their purposes to do so.
Hoshi Sato served in this capacity first to Captain Maximilian Forrest and then to Commander Jonathan Archer, before murdering Archer and attempting to seize the Emperor's throne for herself.
Marlena Moreau was Captain James T. Kirk's woman. She occasionally assisted him in committing assassinations (using the Tantalus field) that helped preserve his command.