Have you ever played with walkie-talkies? When you push the button to talk, your friend can hear you, and when they push the button to talk, you can hear them. This is similar to how connection-oriented communication works.
You see, when two devices want to send information to each other, they have to create a special "pathway" called a connection. It's like making a special phone line just for you and your friend. This connection makes sure that data can be sent and received between the two devices without any mistakes or mix-ups.
Just like with walkie-talkies, there is a lot of back-and-forth involved. It's like a conversation where both devices have to say "hello" and "okay, I'm ready to receive/send" before they can actually start sending information. This helps to make sure that everything is working properly and that the data is being sent in the right order.
Once the connection is established, data can be sent and received much faster and more efficiently than without it. And when the devices are done communicating, they can "hang up" their special phone line and the connection will be closed.
So, in short, connection-oriented communication is a way for two devices to create a special pathway just for them to send and receive information without any errors or confusion, kind of like a private phone line.