IP is not connection oriented. It is Layer 2, and leaves all connection, or transmission things to L3 and above -- like TCP: Transmission Control Protocol. L2 IP just provides ... transit. EG, how to get from point A to point B. It never actually ensures that things get anywhere, it just provides routes, or pathways, for some other protocol to get from place to place. Whether this other protocol cares about data integrity (TCP) or not (UDP) is up to it, not the IP layer.
Think of it like the NYC rail system. The tracks are laid out all over the place, physically connected to each other (Layer 1). At junction points, you have train stations (routers) that know where things are supposed to go via their Train Station Number (IP). The tracks do not move things, they just provide the paths. The stations do not do anything besides let you know where you are and how to get to where you're going. It is the train that is responsible for making sure that connections (Layer 3) get made, with pathway information from the Stations (L2), running on the metal rails (L1) so that things actually do move from place to place. It is the job of the stuff inside the trains (peope) to actually do something upon arrival (L4+)
Not the best analogy ever, but hopefully it helps.