Surgeons aim to achieve clear margins, meaning no cancer cells are present at the edge of the removed tissue. The required margin width can vary based on the type and location of the cancer. Intraoperative assessment helps in making these decisions by providing real-time data on whether the margins are clear or if further tissue needs to be excised.