By inserting a nasogastric tube, you are gaining access to the stomach and its contents. This enables you to drain gastric contents, decompress the stomach, obtain a specimen of the gastric contents, or introduce a passage into the GI tract. This will allow you to treat gastric immobility, and bowel obstruction.