Meaning of “compulsion” - Learner’s Dictionary

compulsion

noun uk us /kəmˈpʌlʃən/
WISH [ C ]

a strong wish to do something, often something that you should not do

FORCING [ U ]

a situation in which you are forced to do something:

We were under no compulsion to attend.

(Definition of “compulsion” from the Cambridge Learner’s Dictionary © Cambridge University Press)