A centreboard (often called a lifting foil in a modern racing dinghy) is used to provide lift to counter the lateral force from the sails.
The centerboard, daggerboard or bilgeboard can be used as a recovery platform upon which to stand, providing increased leverage, in the event the dinghy overturns via a capsize or turtle.