A surgical procedure used to treat skin cancer during which individual layers of skin are removed one at a time and examined under a microscope until all cancer tissue has been removed.