Surgical margins refer to the edges of the tissue removed during surgery, particularly in oncologic procedures. These margins are analyzed to determine whether the excised tissue includes all the potentially cancerous cells, and to ensure no malignant cells are left behind. Histologically, this involves examining the tissue under a microscope to assess the presence or absence of tumor cells at the margins.