A stopcock is a piece of plumbing equipment used to control the flow of water. It is a mechanism used to close or open a valve, allowing the flow of water or other liquids to be regulated. The most common use of a stopcock is to allow one-way flow from a supply pipe into a sink or toilet.