This paper describes the basic operation of Joule-Thomson liquefiers and Joule-Thomson coolers. The discussion is based on the first law of thermodynamics mainly using hT-diagrams. It is limited to single-component fluids. A nitrogen liquefier and a helium cooler are discussed as important examples.