This document summarizes and compares the OSI and TCP/IP models. It describes the seven layers of the OSI model and their functions, from the physical layer that transmits bits up to the application layer that supports programs and applications. It also maps the OSI layers to the four layers of the TCP/IP model. Key concepts covered include encapsulation, where each layer adds header information, and decapsulation, where header information is removed at the receiving end.