what is the function of the three main parts of the microscope?