The footer.php file displays the page footer, and optionally bottom widgets.
Following is a description of the contents of the footer.php file in the theme:
The footer.php file calls the sidebar_footer.php file to display footer widgets if used. The code then displays a general footer line and then calls the wp_footer function, this should always be added prior to the closing body tag. The body and html tags are then closed. This file is fairly simple and can be expanded to suit your purposes in creating the web page.