In basketball, a common violation is the most minor class of illegal action. Most violations are committed by the team with possession of the ball, when a player mishandles the ball or makes an illegal move. The typical penalty for a violation is loss of the ball to the other team. This is one type of turnover.
Excessive time taken
Stepping or losing the ball out of bounds may also be considered violations, as they result in the loss of the ball.