Constipation is a condition where a person has difficulty passing stool or experiences infrequent bowel movements. It can result from various causes including dietary factors, dehydration, lack of physical activity, or underlying medical conditions.