A battery is a portable device that stores and provides electrical energy for powering various electronic devices and appliances in everyday life.