That red gem on the Tails Doll's head in Sonic R actually serves two purposes.
First, it controls the Tails Doll itself. Second, it grants the doll a supply of secret energy. So it's both a control mechanism and a power source rolled into one eerie little detail.