A gastrostomy tube (G tube) is a medical device inserted through the abdomen that delivers nutrition directly to the stomach. It is often used when a patient is unable to eat by mouth, ensuring they receive adequate nutrition and hydration. This is particularly relevant in the context of cancer when treatments or the disease itself impair the ability to eat.