Yes, battery powered nail guns work. They are powered by a battery, which provides the energy to drive the nails into the wood. The battery is located in the handle of the gun and is connected to the trigger. When you pull the trigger, it activates the battery and drives the nails into the wood.