Why does a lizard’s detached tail continues to move even after it falls off; know the science behind it

Lizards possess a remarkable self-defense mechanism called autotomy, where they detach their tails to evade predators. The detached tail continues to wriggle due to reflexive nerve activity, distracting predators and allowing the lizard to escape. While many lizards can regrow their tails, this process demands significant energy, highlighting the evolutionary advantage of this survival strategy.