Where does a toy get its energy?

A toy can get its energy from various sources depending on its design. Some common sources of energy for toys include batteries, solarpower, wind-up mechanisms, and electrical power from outlets or USB charging.