A U-tube heat exchanger consists of a shell containing a bundle of tubes that form a U-shape to transfer heat between two fluids, one flowing inside the tubes and the other outside the shell, with advantages of occupying less space than straight tube heat exchangers while providing maximum heat transfer through multiple tube passes, but disadvantages include higher costs from tube bending and difficulty cleaning inside tubes.