What is the difference between a prototype and a mockup?

A prototype is a working model of a product or system. A…