Carbenes behave like very aggressive Lewis acids.  They can attack lone pairs, but their primary synthetic utility arises from attacks on π bonds, which give cyclopropanes; and on σ bonds, which cause carbene insertion.  Other reactions include rearrangements and dimerizations.  A particular carbene's reactivity depends on the substituents, including any metals present.