It is the purchase of sacraments, dispensations or ecclesiastical charges. The origin is in the New Testament (Acts 8: 18) where Simon, the Wizard, offered to buy the power to perform miracles for the Apostle Peter.
It was the way of calling the act of pretending to buy or negotiate the sacred, divine or spiritual, with money or material goods. It included the purchase of senior religious positions.