Sin is an utterance, a deed, or a desire contrary to the eternal law (St. Augustine, Faust 22: PL 42, 418). It is an offense against God. It rises up against God in a disobedience contrary to the obedience of Christ.
Source: Catechism of the Catholic Church (Vatican.va)