We need to be clear that filial piety does not refer to the cat's true filial piety, but to the cat's performance towards its owner. In other words, cats are not as filial as humans, but they will express their gratitude and attachment to their owners through their actions.
Cats can know that there are filial piety in the family mainly because their sense of smell is naturally sensitive. There is a smell on dying people or animals that is about to die, and cats can smell it from a distance. There is a superstitious saying among the people that cats can sense dying people, which is very realistic, but this is not true. The cat is suddenly sniffing around and is just too sensitive to smells. In fact, cats are extremely sensitive to smell. For cats, especially kittens, smell plays a very important role. As soon as a kitten is born without opening its eyes, it can find the mother cat's nipples through the smell and feed itself.