Do you need any help?

There is a concept in tort law called “duty to rescue,” where a party can be held liable for failing to help a person who is in peril. It was the basis of a plot line in the season finale of “Seinfeld.” It kind of boggles my mind that there needs to be a law to cover this. At what point does a person take it upon themselves to help a stranger who may be in need?