Family Business vs Nepotism

What’s the difference? Yes, I’ve read the definitions. But does the public or do employees actually perceive a difference between the two? Does the timing of bringing in family impact it? How do you set up a family business for success?