Electronics Repair Questions? Ask an Electronics Technician
Welcome to just answer.
What types of batteries are you looking at? For home solar energy or for small electronic appliances?
Any type of rechargeable battery can be used in solar devices. Be sure the voltages match up the same and you should have no problems. Most rechargeable batteries today used in solar devices are NiMH only because they are fairly cheap and word better then the older Nicad rechargeables.
It would be fine to purchase rechargeable batteries from your local store to replace bad batteries in your driveway lights.