Ants invade your home because it represents a possible food and water source. It can also provide protection from predators and the elements, thus serving as a potential site for new colonies when they're ready to expand. Obviously, you'll want to prevent this invasion and colonization from happening whenever you can.