Pathologists examine tissues and cells under a microscope to diagnose cancer and determine its type and grade. Their findings are essential for formulating an accurate diagnosis and guiding the treatment plan. They also play a role in identifying genetic mutations that can influence treatment options.