What is the end of an innings in the game of cricket?

The ten players being out in the game, the number of overs played being fulfilled, or the batting team asserting their position, this is called an innings in a game of cricket. In limited-overs touring, an end of an innings is also when the batting side obtains the goal score.