A machine tool for processing workpieces of various shapes comprises three processing units each mounted on a carriage to move in three axes of coordinates and each being rotatable about a horizontal axis. Each processing unit carries a tool holder having tools and being turnable in two opposite directions. A workpiece is clamped in a workpiece holder so that it is immovable during operation and can be treated at least at three sides thereof simultaneously.