Both aiding and abetting are examples of accomplice liability. This is liability for a crime that was committed by someone else. Under accomplice liability, you can be punished for a crime that someone else committed.