A faucet is a valve that controls the flow of water through a pipe. It is commonly used in sinks, bathtubs, and showers.