It is a common misconception that eating bananas can cure constipation. Unripe bananas contain more tannic acid, which inhibits the secretion of gastrointestinal juices and inhibits peristalsis, and if babies consume too many bananas during constipation, it can worsen the condition.