A specialized muscle encircling an opening or orifice. Contraction of the sphincter tends to close the orifice. Examples are the anal sphincter (round the opening of the anus) and the pyloric sphincter (at the lower opening of the stomach). A precapillary sphincter is a ring of smooth muscle that surrounds the entrance to a capillary bed and by contracting restricts the entry of blood.