Margins are crucial because they help determine whether the entire tumor was successfully removed. If cancer cells are found at the edge of the removed tissue, it suggests that some cancer may have been left behind. This can increase the risk of the cancer recurring. Therefore, margins are closely examined by a pathologist to evaluate the effectiveness of the surgery.