A&E disobeyed God's commandment to not eat the from a specific tree in the garden. The sin was disobedience to God's commandment.
Reread Gen3 and look for the root of their sin, anon. They disobeyed God. Why they did that is another question. Satan told them they would gain understanding of God's hidden knowledge. Typical occult trap. Still works today.