Build a dry cell battery with this fun activity! Batteries provide electricity for nearly every small electrical device in the home—from flashlights to power tools. The composition of a battery depends on the purpose for which it will be used. Some batteries, such as those in an artificial pacemaker, need to operate for a very long time. Other batteries need to be reliable and ready to supply electricity at any time, even after several years of storage.