Welcome to the forum.
Click here and look up those words in dozens of free on-line dictionaries.
Bookmark the site for future reference.
Interested in Language
what is the difference between obsession and compulsion?
With "compulsion", there is the element of force being used.
I am not a teacher.
not a teacher
These definitions illustrate a common meaning for each word.
an obsession = "someone or something that a person thinks about constantly or frequently". (Merriam-Webster)
a compulsion = "an irresistible urge to behave in a certain way". (Oxford)
I have an obsession with strawberry ice cream, and every time I walk past the shop I feel this compulsion to go in and buy some.