An endoscopic examination is a minimally invasive diagnostic medical procedure used to assess the interior surfaces of an organ by inserting a tube-like instrument called an endoscope. This technique is pivotal in histology for obtaining tissue samples, observing pathological changes, and aiding in the diagnosis of various conditions.