Cordless drill drivers are powered by a rechargeable battery and should come with a charger. On most models, the battery is detachable and can be removed from the tool when it comes time to recharge it.
There are three types of batteries: nickel-cadmium, nickel-metal hydride, and lithium-ion.