This paper, firstly, tries to show the overview of corpus linguistics, which has been paid much attention in recent linguistic analysis. Definition of corpus, the purpose of using corpus, and the kinds of corpus will be shown. Also provided is the recent studies utilizing corpus as their database; variety of fields such as collocation analysis, semantics, cognitive linguistics, and historical linguistics are related to corpus studies. Second, it will be discussed how these corpus studies are applied to language teaching, both teaching English and Japanese. Thirdly, it will be shown how to analyze corpus data using a free software, KH Coder, which has been developed by Dr. Koichi Higuchi at Ritsumeikan University