Gerund functioning as a noun; refers to the act of desecration.
The profaning of the shrine outraged the villagers.
Осквернение святилища возмутило деревенских жителей.
profaninggerund / present participle Present-participle adjective modifying a noun.
They were stopped by the guards before their profaning hands could damage the relic.
Стража остановила их, прежде чем их оскверняющие руки могли повредить реликвию.