Batteries are devices that store chemical energy and convert it into electrical energy when required. Thus, they are portable sources of energy that can be used as and when required.