A gavel is an important piece of equipment in a courtroom. It is used to signal the end of a trial and to announce rulings by the court. In many countries, a legal gavel is also called a "pea shooter." The name comes from the old days when people would use their fists to make a sound like cracking peas.