Hanja is the Korean word for Chinese characters. It is about the Chinese characters that are borrowed from the Chinese language and used in the Korean language with Korean pronunciation. Hanja-mal or hanja-eo is about words which can be written with hanja. Hanmun (한문) is about the Chinese Classical writing, but hanja can sometimes be used to generally mean hanmun too. Hanja was never very greatly changed, so many of the Chinese characters are often entirely the same as traditional Chinese. Only a few hanja characters are unique to Korea.
In the 1440s, however, a Korean alphabet relying on sound was made by a group of scholars, led by King Sejong the Great. It was not widely used at first. However, by the early 19th and 20th century it was more widely used than hanja, and it is now the official language of Korea.
But until then, everyone mostly read and wrote in hanja, so most of the older books in Korean literature are written in hanja. Scholars who learn Korean history learn hanja to read historical papers. Children in Korea still learn hanja, for many Korean words still have roots in hanja.