Literally, it refers, as JK explains, to a written account. However the expression is also used less formally where there is no written record. If you say, for example, "Let the record show that I tried my best", it means that you want people later to know that you tried. You can think of the "record" as being the book of your life into which you "record" every day a new page.