Connection-oriented
Connection-oriented is a way of transmitting data where devices on endpoints use a pro-protocol to establish an end-to-end connection before any data is sent. In telecommunications, connection-oriented services are often described as "trusted network service" because data streams/packets are sent to the receiver in the order in which they were sent by the sender.
Connectionless
Connectionless services are a way of forwarding data communication between two terminals where the sender sends data packets to its destination without establishing a connection to the destination. A good example of connectionsless systems is LANs. LANs allow each computer to forward data packets as soon as they access the network. In telecommunications, connectioness protocols are often described as stateless because endpoints have no protocol-defined way to remember where they are when exchanging messages.

image src: https://fossbytes.com/connection-oriented-vs-connection-less-connection/
COMPARATIVE PRINCIPLES | Connection-Oriented | Connectionless |
Prior Connection Requirement | Necessary | not required |
Reliability | It ensures reliable transfer of data. | Not guaranteed. |
blockage | Unlikely | It probably happens. |
Transfer mode | It can be implemented using circuit switching and virtual circuitry. | It is implemented using packet switching. |
Lost data transmission | Possible | Practically not possible. |
suitability | It is suitable for long and stable communication. | Suitable for Burst Shooting. |
Signal | Used for connection setup. | There is no concept of signal. |
Packet forwarding | Packets go sequentially to their destination nodes and follow the same path. | Packages arrive at the destination randomly without following the same route. |
lateness | There is a delay in the transmission of information, but faster delivery can be made once the connection is established. | Transmission is faster due to the absence of the link establishment step. |
Resource Allocation | It needs to be allocated. | The resource does not need to be allocated in advance. |
Summery:
Data communication is a telecommunication network to send and receive data between two or more computers over the same or different network. There are two ways to establish a connection before sending data from one device to another, that are Connection-Oriented and Connectionless Service. Connection-oriented service involves the creation and termination of the connection for sending the data between two or more devices. In contrast, connectionless service does not require establishing any connection and termination process for transferring the data over a network.
