what is a ledger used for

http://www.businessdictionary.com/definition/ledger.html

You can keep a ledger in a large book made especially for this purpose or by using a computer program, such as Excel or any other of the myriad ledger programs out there.
https://www.google.com/search?tbm=isch&q=define+ledger&chips=q:define+ledger,online_chips:general+ledger&sa=X&ved=0ahUKEwjvz4mK-ubaAhVF0lMKHVcvA5kQ4lYIKigC&biw=1437&bih=716&dpr=1