Lizard tails are often a different and dramatically more vivid color than the rest of the body so as to encourage potential predators to strike for the tail first.
Many lizard species (including geckos, skinks, and others) are capable of shedding part of their tails through a process called autotomy. This is an example of the pars pro toto principle, sacrificing “a part for the whole”, and is employed by lizards to allow them to escape when captured by the tail by a predator. The detached tail writhes and wiggles, creating a deceptive sense of continued struggle, distracting the predator’s attention from the fleeing prey animal.
Numerous species of lizard are kept as pets, including bearded dragons, iguanas, anoles, and geckos (such as the popular leopard gecko). Some lizards have an affinity for humans, but many are suspicious or skittish around them. Lizards that bite humans are very rare. Lizards are predominantly insectivorous, but some eat fruit, or vegetables. Live crickets and worms are the most typical foods for pet lizards, though the crested gecko (not a friendly lizard to humans) can feed entirely on fruit.