The method in which data is formatted for TCP and IP is different. The main difference is that IP only stores the information about the destination, while TCP stores both recipient and sender information.

TCP Packet Format

TCP-packet-format.jpg

IP Packet Format

IP-packet-format.jpg