Carpenter ants (Hymenoptera: Formicidae: Camponotus spp.) get their common name from the habit many species have of nesting within wood. Many nest within trees, and some species are considered pests because they attack buildings.
Carpenter ants don’t eat wood, however, they simply chew it up and discard it in order to carve out their nests. These omnivores instead feed on a variety of other things including insects, honeydew from aphids, and tree sap. The individual shown here was tasting some sap that had fallen on a red maple leaf (Acer rubrum, Aceraceae).