Motivation Principles of Scientific Management

The motivation principles of scientific management assume, for example, that if a factory worker is paid by the piece of work completed, that they will produce more in a shorter period of time. What are the advantages of such a system for the company and the worker? What are the disadvantages or pitfalls?