What is the difference between a patent and a design?

A patent protection covers an innovative function having an industrial application. The nature of the invention must be identified in the specifications and in particular in the claims which define the monopoly right and are addressed to a person skilled in the art. On the other hand, a design covers only the appearance of a product. In view of that, a design can not protect the function of the product.