There are all sorts of types of batteries that can be used for different airsoft guns. Some of these guns can use standard types of batteries while others will use larger batteries that can be recharged over time.
Many smaller airsoft guns will use regular types of batteries. Smaller pistols or mini electric guns can use AA batteries. In most cases four of these batteries will be required for the gun to get its motor to work properly. They will be installed into the gun through the hand grip in a manner similar to how batteries are installed in other applications that use them. These batteries can be found at the below link:
Airsoft Gun Batteries