Lizards are the type of reptiles that can detach their tails when they are in danger, and then regrow it. This is a self-defensemechanism known as autotomy, which is the ability of an animal to drop a body part, such as the tail, when it is attacked or caught by a predator. The tail serves as a distraction for the predator.