A bezoar is a solid mass that forms in the digestive system, obstructing normal function. These masses typically consist of undigested or indigestible substances, such as hair, fibers, or medications.