Read the paragraph.

Long ago people made buildings by fitting boards together. Then they learned to shape metals. The invention of nails followed.

Which word does the underlined prepositional phrase modify?
A. the verb made
B. the noun people
C. the verb learned
D. the noun buildings

Can Some One Help Me Please its Language Arts