In several scientific disciplines, such as biochemistry, physiology, and neuroscience, microscopes were crucial instruments for scientific study. To rectify light wavefront aberrations caused by intrinsic optical system limits and non-uniform sample structures, adaptive optics, or AO, have been employed in microscopes. Sample structures and wavefront aberrations were unknown before imaging, making AO difficult to regulate even though it significantly improves microscope imaging quality.