The type of tumor is determined by a pathologist, a doctor who specializes in identifying diseases. The pathologist uses a microscope to examine a sample of the tumor obtained at the time of surgery.