Termites are endemic in California. Houses that are sold here are typically tented for termites during the period after the seller moves out and before the buyer moves in.
Ants are endemic in California.
Termites and ants are natural enemies that fight over territory. Ants living outside a house that has recently been tented for termites will move into the walls and feast on termite corpses, while you, the new homeowner, remain blissfully ignorant because none of the approximately three hundred people involved in the real estate transaction will have bothered to mention this simple fact to you.
The gas used to kill termites has no effect on the ants that will later eat them.
Eventually, the ants that move into your walls will either run out of termite meat or grow bored of their all-termite diet. At that point, they will begin to leave the walls to look for food sources inside the house.
Although cats will happily chase almost any kind of insect, real or imagined, that they encounter, they are completely uninterested in ants.
Exterminators respond to an ant infestation by treating both the interior of the house and the exterior, spraying the ground and the base of any trees near the house.
Spraying the base of a tree does not kill the ants living in the tree; it just prevents them from climbing down.
Ants that wish to leave a tree but that don’t want to climb down will instead climb up and, upon discovering that one of the branches touches the house, will follow that branch to the roof and then climb down the chimney. Approximately five minutes after the extermination company closes for the day, you will discover a line of ants leading from your fireplace to the few morsels of cat food on the kitchen floor.
Cleaning up the cat food on the kitchen floor will shift the line of ants from the floor to the unsealed box of spaghetti in your kitchen cabinet.
Removing all unsealed food sources from your house will modify the ants’ behavior, but probably not in the way that you’d hoped. Instead of forming an orderly line from your fireplace to a spot in your kitchen, they will scatter across every horizontal surface in your house, including the ceiling.
Burning the house down may seem like a good idea, but it has flaws: in preparation for setting the fire, you’ll have to put your cats into carriers and then in the car, and they hate that. Also, arson is a felony. I checked.