We can use a functions.php file inside the wordpress theme like a plugin and gets automatically loaded during WordPress initialization. We can just create a file named functions.php inside the theme folder and can copy all the common functions inside the file. 
It will act as a plugin and will load automatically that is we don’t need to include it any where in the theme files. It will help us to define a library and can reuse to fasten up our work while keeping code clean and easy to manage.
Most common use of the function.php is to do some actions while loading the WordPress initialization. We can add filters, actions and common initialization script like sidebar widget registration etc. to the file functions.php
October 21st, 2009 
functions.php is one of the main file in the wordpress themes….., through this we can add our main functions