How does a solar battery work?

How does a solar battery work?

If you have electronic devices of any kind, you probably are familiar with the concept of a battery powering the device. The battery is how your device is able to work, after all, and if something goes wrong with it- or if it simply gets too old and dies- your device...