Optical alignment gauge is primarily used to measure and adjust the toe-in and toe-out of a vehicle's wheels. It achieves this by using a system of optical sights, contact probes, and sometimes a laser beam to align markers on the wheel rims. This allows mechanics to accurately check and adjust wheel alignment, ensuring proper tire wear and handling.