In brightfield microscopy, a light source illuminates the specimen, and the light passes through it before being captured by the objective lens and ocular lens to form an image. The contrast in the image is primarily achieved by staining the tissues with various histological stains. These stains bind to specific cellular components, enhancing the visibility of cellular structures against the bright background.