It is used to treat gastric atony, ileus, or obstruction; remove ingested toxins, give antidotes (eg, activated charcoal), or both; obtain a sample of gastric contents for analysis (volume, acid content, blood); and supply nutrients.