Thagomizer
A thagomizer is the distinctive arrangement of four to ten spikes on the tails of stegosaurid dinosaurs. These spikes are believed to have been a defensive measure against predators.
The arrangement of spikes originally had no distinct name; the term Thagomizer was coined in 1982 by cartoonist Gary Larson in his The Far Side comic strip, and thereafter became gradually adopted as an informal term within scientific circles, research, and education.
Paleobiology
There has been debate about whether the spikes were used simply for display, as posited by Gilmore in 1914, or used as a weapon. Robert Bakker noted that it's likely that the stegosaur tail was much more flexible than those of other ornithischian dinosaurs because it lacked ossified tendons, thus lending credence to the idea of the tail as a weapon. He also observed that Stegosaurus could have maneuvered its rear easily by keeping its large hindlimbs stationary and pushing off with its very powerfully muscled but short forelimbs, allowing it to swivel deftly to deal with attack. In 2010, analysis of a digitized model of Kentrosaurus aethiopicus showed that the tail could bring the thagomizer around to the sides of the dinosaur, possibly striking an attacker beside it.