Copyrights, patents, and trademarks

What are the differences and similarities among copyrights, patents, and trademarks?