What actually is the handball rule?

After VAR decided to not give a penalty for a Viktor Gyokeres handball in Arsenal's 2-2 draw against Manchester City, BBC Sport's Sam Harris explains the actual rule regarding handball.