This would be for the prevention or detection of crime, or to comply with a legal obligation, for example.
Byddai hyn er mwyn datgelu neu atal trosedd, neu er enghraifft, i gydymffurfio â rhwymedigaeth gyfreithiol.