A hex nipple is a type of plumbing fitting used to connect two threaded pipes. It is a short piece of pipe with a hexagonal-shaped end that is threaded on both sides, allowing it to be connected to two other threaded pipes. It is commonly used to connect two pieces of pipe together in applications.