operates and programs machine tools such as lathes, mills, and grinders that are controlled by a computer to produce precision metal or plastic parts. To produce high-quality parts, machinists set up machines, write and test programs, and make adjustments as needed.