You use the same battery with your nail gun and power drill!
The great thing about Ryobi power tools is that the batteries are compatible with all of their power tools. You use the same battery with your nail gun and power drill!