Nasogastric decompression involves the insertion of a nasogastric tube to relieve gastric distension and remove gastric contents, often used in conditions like bowel obstruction or postoperative ileus. This procedure helps prevent aspiration, reduces nausea and vomiting, and can aid in diagnosing gastrointestinal issues.