Carpenter ants can bite if they feel threatened. The bite can be slightly painful due to the formic acid they release, but it is not dangerous.