an inning is when one of two opposing teams take their turn to bat during games of baseball or cricket