A stent is a tube made out of metal mesh or plastic. A stent will hold open the blocked intestine so that food and liquid can pass through. Health care providers use an endoscope to place a stent.