Alignment shims are precision tools used in turbomachinery to ensure accurate shaft alignment between rotating components like turbines, compressors, and pumps. They help prevent vibration, wear, and energy loss by compensating for baseplate irregularities and thermal expansion.