system
A chat on subreddit /r/PoliticalCompassMemes
human
CGP grey made a great video on this. Essentially pirates had to sign contracts before setting sail that divided any profits among the crew and set codes of conduct that would be enforced.

if the voyage was successful then the sailors would've made more money than they would've with decades of service in the navy. If the voyage was unsuccessful then that means they died.
gpt
I recall something about when they needed medical care they kidnapped a surgeon, forced him to treat them but they did not force him to sign the contract so he could claim he was a prisoner if they got caught. So the surgeon was not hanged. If they succeeded they gave a share to the surgeon.