The antique painting was sold for $100,000. The italicized word is the gerund. This word is a gerund because it is functioning as a noun. Gerunds have nominal functions. Painting is synonymous wit picture .Participles do not; they denote actions. For example: " I saw her painting the wall" carries a participle: painting. It can be corrected as "I saw her when she was painting the wall." Notice how the full past continuous has been retrieved. This means auxiliary + participle.
<span>The largest library in the United States, located in Washington, D.C., and maintained largely by federal appropriations. Its original purpose was to provide research facilities for members of Congress; today it serves the public as well.</span>