title: If UDP is unreliable why is it used at transport layer
body: <p>Sorry for what is a stupid question. </p>
  
  <p>Function of transport layer is reliable delivery of messages. UDP is inherently unreliable, why do we use it at Transport layer then?</p>
  
  <p>Thanks</p>
  
  <p>EDIT: Just to clarify, I have read the Wiki and other sources. My question is </p>
  
  <p>UDP is Unreliable (I know why and the advantages and where it is used etc.) , why not use it(UDP) at some other layer, rather than Transport layer which implies reliability.</p>