Stegosaurs
Stegosaurs were herbivorous dinosaurs known for the distinctive plates along their backs and the spikes on their tails, often called a thagomizer. They lived mainly during the Jurassic period and had relatively small heads compared to their body size.
The function of their plates is still debated, but they may have been used for display, species recognition, or temperature regulation. Their tail spikes were likely used for defense against predators.