While making a tester to detect electric currents through liquids, Ritika replaced the cell (used in tester to detect currents through metals) with a battery because
battery gives greater power and will produce measurable current with liquids which usually are not as good conductors as metals
Liquids are, in general, poor conductors than metals and with a cell they might produce weak currents to light up a bulb or LED. So, instead of a cell, a battery is used.