Why do motorcycles have a petcock?

Why do motorcycles have a petcock?

The petcocks purpose is to prevent fuel flow from the fuel tank to the motorcycles carburetors. They have this in part because motorcycles spend a large chunk of their lives parked on a sidestand. And the petcocks prevent the fuel from overloading the float seals on the “downhill” side of the bike.

See also  What happens if you have no insurance but the other driver was at fault in Washington State?