Hysteroscopy refers to the visual inspection of the uterine cavity with the use of endoscope.