A method includes assessing tumor margins and discriminating between tumor and non-tumor tissues by analyzing the compositional make-up of smoke produced during cautery resection of tissues.