What is the meaning of [An Apple a Day Keeps the Doctor Away]

Eating healthy foods will keep one from getting sick (and needing to see a doctor)