Ambient occlusion (AO) is a shading technique that is used to simulate the softness of shadows in corners and recesses of a 3D model. AO creates a more realistic and natural lighting effect by reducing diffuse lighting in areas with limited light incidence.