There are two types of pin nailers: those powered by compressed air ... The main purpose of a pin nailer is to tack a piece of trim or molding in place while the wood glue dries.