Caning is a form of corporal punishment consisting of a number of hits (known as "strokes" or "cuts") with a single cane usually made of rattan, generally applied to the offender's bare or clothed buttocks (see spanking) or hands (on the palm). Caning on the knuckles or shoulders is much less common. Caning can also be applied to the soles of the feet (foot whipping or bastinado). The size and flexibility of the cane and the mode of application, as well as the number of the strokes, vary greatly—from a couple of light strokes with a small cane across the seat of a junior schoolboy's trousers, to up to 24 very hard, wounding cuts on the bare buttocks with a large, heavy, soaked rattan as a judicial punishment in some Southeast Asian countries.
Flagellation was so common in England as punishment that caning, along with spanking and whipping, are called "the English vice". Caning can also be done consensually as a part of BDSM.
The thin cane generally used for corporal punishment is not to be confused with a walking stick, which is sometimes also called a cane (especially in American English), but is thicker and much more rigid, and likely to be made of stronger wood.
Caning was a common form of judicial punishment and official school discipline in many parts of the world in the 19th and 20th centuries. Corporal punishment (with a cane or any other implement) has now been outlawed in much, but not all, of Europe. However, caning remains legal in numerous other countries in home, school, religious, judicial or military contexts, and is also in common use in some countries where it is no longer legal.
Judicial corporal punishment
Judicial caning, administered with a long, heavy rattan and much more severe than the canings given in schools, was/is a feature of some British colonial judicial systems, though the cane was never used judicially in Britain itself (the specified implements there, until abolition in 1948, being the birch and the cat-o'-nine-tails).