
Wide ball is a ball that is 'too wide or too high' to be hit by a batsman
Wide balls in cricket refer to any delivery that is too wide or high for a bat to hit. They are also known as an out-of-bounds delivery. Wides don't count towards a batters score but are added to the bowling analysis. A wide is an error by a bowler and is noted on the bowling analytics. Wide balls first began being recorded in the early 1980s.
Umpires will rule on wide balls and they do not count in an over. Each wide is a run against the bowling team. The batter is free to choose whether to score additional runs.
It's not against the rules of cricket
In cricket, a wide ball is a ball that reaches the batsman but is outside the batsman's field of vision or the batsman's batting crease. When a wideball is played, the batsman receives one run. However, there are certain exceptions to this rule.

A wide ball refers to a cricket ball that is not within the play area. While it may be outside the field of play, it is not considered to be a violation.
Bowling teams can face a penalty.
In cricket, a wide ball is a delivery that is outside the batsman's line of vision. First-class cricket is played without regard to the lines on the crease. It is the umpire who determines whether a wide ball is deemed as such. It could be high enough to reach the batsman, or it might be above his head. Wide balls can touch the body of the batsman or strike the bat.
A wide ball is considered a penalty for a bowling team when the ball touches the batsman's shoulder or outside leg stump. The bowling team must again bowl the delivery. In addition to the extra run, a wide ball counts against the bowling team's figures. It does NOT count as a run. It can be either outside off-stump, on the leg-side or above the head of the batsman.
It is not called when the ball flies out of the limits marked by the large line.
A wide ball refers to a cricket ball which flies beyond the boundaries marked by the wide line. The umpire must call it if it passes the striker's wicket. If the ball flies within the boundaries at the moment the bowler begins his delivery stride, it is not considered Wide.

A wide ball in cricket does not get called wide if it goes beyond the defined line. An innings is comprised of fifty innings, each lasting for one-day. First-class matches often last three days.