Aiding is as it sounds. It means to help or assist another person in committing a crime. Abetting consists of encouraging or inducing another person into committing a crime. An accessory to a crime is one who participates in aiding or abetting specifically before or after the commission of the crime. Basically, they are not present for the crime itself, but they play a role.