What is sin?

Sin is a desire to be like God, to make your own decisions as to what is good or evil and occurs when this wrong desire is acted upon.  You become your own idol, worshipping what you think in preference to what God requires of you.

Any disobedience, either moral or legal (in other words against the moral laws of God or the obedience He requires of you) is a rebellion against the authority of God.  This is why Satan works on our desires to cause us to sin as it is wrong dfesires acted upon that gives rise to sin .