is it better to leave old people in nursing home or to be look after by their children?

is it better to leave old people in nursing home or to be look after by their children?