Apple of One’s Eye

What does the idiom “apple of one’s eye” mean?
Definition: a favorite person or thing, a person especially valued by someone

For example: Edward has only one child, and she’s the apple of his eye.