Answer:
People undertook pilgrimages in the Middle Ages because there was the belief by religious bodies about having prayers more likely answered when the prayer takes place at the pilgrim destination and that there was a higher chance of making heaven for going to such places.
Popular pilgrim sites are Rome, Jerusalem, Bethlehem, Mecca etc