The cat when it goes through the cat flap exhibits some of the behavior of  his wild ancestors such as hunting and they will come back through a cat flap  and have a social bond with the owner and be a family pet. 