Some network transport protocols such as TCP provide endpoints an easy way to ensure reliable delivery of packets, so that individual applications don't need to implement logic for this themselves.
Protocols such as User Datagram Protocol (UDP) provide no recovery for lost packets.