Law dictates what people can do in a society, sometimes enforced by a state, sometimes voluntarily enforced by the social group.