Oftentimes, people use the words "tube" and "pipe" interchangeably. Simply put, pipe is designed and better suited for higher pressure applications, and the tube is designed and better suited for flow applications.
When it comes to the measurement of pipe, it is measured by the inside diameter (I.D.). On other hand, tube is measured by the outside diameter (O.D.)