Underline the gerund in the sentence below. Identify its function in the sentence.

The most famous victim of marooning ,a Scottish sailor named Alexander Selkirk, was left alone on an island for four years