Trademarks protect brands such as company or product names, logos, and distinctive coloring. Patents, on the other hand, protect inventions such as machines, processes, products and chemical compositions that are used to make or comprise a part of the product. Copyrights protect original works of authorship such as writings, computer programs, and works of art.
Let’s think of this in terms of an example – M&M’s® candies. Trademarks protect the M&M’s® brand name. Patents, on the other hand, protect the machine that can print images on M&M’S® candies and copyrights protect the written and graphic content on the M&M’s® website, such as the artwork for the M&M’s® characters.
For more discussion about the differences between each of these types of intellectual property, please see this PHOSITA post.