Before a match begins, the team captains (who are also players) toss a coin to decide which team will bat first and so take the first innings. Innings is the term used for each phase of play in the match. In each innings, one team bats, attempting to score runs, while the other team bowls and fields the ball, attempting to restrict the scoring and dismiss the batsmen. When the first innings ends, the teams change roles; there can be two to four innings depending upon the type of match. A match with four scheduled innings is played over three to five days; a match with two scheduled innings is usually completed in a single day. During an innings, all eleven members of the fielding team take the field, but usually only two members of the batting team are on the field at any given time. The exception to this is if a batsman has any type of illness or injury restricting his or her ability to run, in this case the batsman is allowed "A Runner" who can run between the wickets when the batsman hits a scoring run or runs. The order of batsmen is usually announced just before the match, but it can be varied.
It is generally believed that cricket originated as a children's game in the south-eastern counties of England, sometime during the medieval period. Although there are claims for prior dates, the earliest definite reference to cricket being played comes from evidence given at a court case in Guildford on Monday, 17 January 1597 (Julian calendar; equating to 30 January 1598 in the Gregorian calendar). The case concerned ownership of a certain plot of land and the court heard the testimony of a 59-year-old coroner, John Derrick, who gave witness that:
Most crickets lay their eggs in the soil or inside the stems of plants, and to do this, female crickets have a long, needle-like or sabre-like egg-laying organ called an ovipositor. Some ground-dwelling species have dispensed with this, either depositing their eggs in an underground chamber or pushing them into the wall of a burrow. The short-tailed cricket (Anurogryllus) excavates a burrow with chambers and a defecating area, lays its eggs in a pile on a chamber floor, and after the eggs have hatched, feeds the juveniles for about a month.
Crickets have from time to time appeared in poetry. William Wordsworth's 1805 poem The Cottager to Her Infant includes the couplet "The kitten sleeps upon the hearth, The crickets long have ceased their mirth". John Keats's 1819 poem Ode to Autumn includes the lines "Hedge-crickets sing; and now with treble soft / The redbreast whistles from a garden-croft". The Chinese Tang dynasty poet Du Fu (712–770) wrote a poem that in the translation by J. P. Seaton begins "House cricket ... Trifling thing. And yet how his mournful song moves us. Out in the grass his cry was a tremble, But now, he trills beneath our bed, to share his sorrow."