A battery (1) comprises a chargeable and dischargeable battery cell (23); a first electrode (21) and a second electrode (22) connected to the battery cell and electrically connected to an external electrode in a non-contact state; a switching circuit (24) which is provided in a battery circuit comprising the battery cell, the first electrode and the second electrode, and switches the current flowing in the battery circuit to alternating current or direct current; and an insulating housing (10) which houses the battery cell, the first electrode, the second electrode and the switching circuit therein.