The answer to 'what attracts ant' is that ants are attracted to food sources, moisture, and nesting sites. Ants are constantly searching for food and water, and they will be drawn to any crumbs, spills, or damp areas in your home. They also look for protected, dark spaces to build their nests, such as under appliances, in cracks and crevices, or in potted plants.
To prevent ants from entering your home, it's important to eliminate food sources by keeping your kitchen clean, storing food in airtight containers, and promptly cleaning up any spills or crumbs. You should also address any moisture issues, such as leaks or standing water, and seal any cracks or entry points where ants could get inside. If you're still struggling with an ant problem, it's best to call a professional pest control technician who can identify the specific species of ants and recommend the most effective treatment options.