What is the difference between IP and TCP?

TCP/IP are separate protocols that work together in a network. IP is a protocol to define unique addresses for devices in a network, whereas TCP is a communication standard that makes sure that packets are sent across a network to the address defined by IP.

System Design
IP
TCP