Shape constancy is a perceptual phenomenon where the perceived shape of an object remains constant despite changes in the viewing angle, distance, or lighting conditions. This ability allows humans to recognize objects in a variety of contexts, contributing to our understanding of a stable and consistent environment.