Black's Law Dictionary defines "legislative history" as
The background and events leading to the enactment of a statute, including hearings, committee reports, and floor debates. Legislative history is sometimes recorded so that it can later be used to aid in interpreting the statute.
A basic review of how laws are made can be found on Ben's Guide to the U.S. Government.