Casting to actor using actor reference failed?

I am a bit confused with this statement. Isn’t casting related to inheritance chains? If some thing does not have a “is a” relationship, then casting fails? For example, if a “Burger” is a “Food”, then you can cast “Burger” to a “Food” but not the other way round because a “Food” is not necessarily a “Burger”? Please correct me if I am wrong.