The brand's 18V system uses high-performance lithium batteries that can power tools both small and large, and which are interchangeable, so you can use any Ryobi 18V battery with one of its 18V tools.
M12 are, as the name suggests, 12-volt batteries, while M18 pack 18 volts. M12 are relatively ... All you have to do is slide the M18 battery into the adapter, attach the adapter to the tool ...