Learn about this topic in these articles:

cricket rules

...but to the side’s score may be added the following extras: (1) byes (when a ball from the bowler passes the wicket without being touched by the bat and the batsmen are able to make good a run); (2)
leg byes (when in similar circumstances the ball has touched any part of the batsman’s body except his hand); (3) wides (when a ball passes out of reach of the striker); (4) no balls (improperly...