Which of these is a way that Catholic monasteries preserved ancient languages and learning?

A.
They taught ancient Chinese beliefs on religion.
B.
They wrote stories about early Egyptian legends.
C.
They preserved artwork from Babylon and Persia.
D.
They saved ancient Greek and Roman writings.

D. They saved ancient Greek and Roman writings.