are nuns married to the church?
We are all children of God but both nuns and priests are regarded as being 'brides of Christ,' (which seems to be where this concept of 'married to God' comes from). One reason for this is they have given themselves, their lives, to Christ much as a bride traditionally gives herself to her husband in wedlock.