Sentience (Earth-2042)

Sentience is the ability of a species to think intelligently. Sentient species of the galaxy numbered in the tens of thousands, with 3PO units being programmed to recognize more than 30,000 of them. Some such species include Humans, the Ewoks, the Patitites, the Gungans, and the Geonosians. Non-sentient organics of the animal kingdom were variously referred to as "creatures" or "beasts." There also exist creatures that appear to have emerging sentience, such as the Gorog.

Under the laws of the Galactic Republic, sentient beings could not be used as slaves. However, slavery thrive on certain remote planets such as Tatooine, and is considered a profitable trade among the Trandoshans and the Kig-Yar. Most droids are afforded programming that did not allow them to harm organic sentient beings, with notable exceptions such as security droids, battle droids and sentinel droids.

Source

 * https://starwars.fandom.com/wiki/Sentience