Mechanisms
A ratchet is a one-way door for motion
A ratchet lets a shaft or a cable take up motion in one direction and refuses the same path in reverse. The pawl, not the number of teeth, is what makes the door one-way.
A ratchet is a wheel or rack with teeth, and a pawl that can drop into those teeth. When the wheel turns the allowed way, the pawl rides over the teeth and clicks in behind them. When the load tries to run backward, the pawl jams against a tooth and the wheel stops. The click is not decoration: it is the sound of the pawl seating, which is the moment the reverse path is closed.
The pawl has to be loaded to work
A ratchet that is only "present" is not yet doing its job. The pawl needs a spring, gravity, or another force holding it against the teeth. If that force is missing, or if the pawl is worn so that it rides on the tips instead of seating, the wheel can slip backward under load. People sometimes blame the teeth for a slip that started in a weak or dirty pawl.
Some designs use two pawls, or a sprag clutch with many cams, so that a single failed engagement does not drop the load. The idea is the same: many one-way contacts, each able to take the reverse force.
Use it as a direction rule, not as a brake
A ratchet is a direction rule. It is a poor substitute for a brake if you need to stop a running mass smoothly, because engagement is sudden and happens at a tooth. If you are choosing or inspecting one, look at the pawl spring, the seating face, and whether the load in reverse is actually within what those faces can hold. The tooth count tells you how fine the steps are, not how trustworthy the door is.