The main objective of each team is to score more runs than their opponents but, in some forms of cricket, it is also necessary to dismiss all of the opposition batsmen in their final innings in order to win the match, which would otherwise be drawn. If the team batting last is all out having scored fewer runs than their opponents, they are said to have "lost by n runs" (where n is the difference between the aggregate number of runs scored by the teams). If the team that bats last scores enough runs to win, it is said to have "won by n wickets", where n is the number of wickets left to fall. For example, a team that passes its opponents' total having lost six wickets (i.e., six of their batsmen have been dismissed) have won the match "by four wickets".
Captive crickets are omnivorous; when deprived of their natural diet, they accept a wide range of organic foodstuffs. Some species are completely herbivorous, feeding on flowers, fruit, and leaves, with ground-based species consuming seedlings, grasses, pieces of leaf, and the shoots of young plants. Others are more predatory and include in their diet invertebrate eggs, larvae, pupae, moulting insects, scale insects, and aphids. Many are scavengers and consume various organic remains, decaying plants, seedlings, and fungi. In captivity, many species have been successfully reared on a diet of ground, commercial dry dog food, supplemented with lettuce and aphids.