In the forest, carpenter ants have a job to do, recycling woody debris, such as dead trees and fallen logs. But these large ants become nuisances when they forage or nest inside our homes.