The Tap is used to cut a female thread on the inside suface of a prebored hole, whilst the Die cuts a male thread on a preformed cylindrical rod. Each tool is used independently, but are usually sold in paired sets of both types. The common or garden variety are designed for purely manual operation, but powered versions are found in CNC machine tools.