How is a sentient being defined?

Rādha asks the Buddha, who compares craving and rebirth to a child playing with sandcastles.