Dear reza
$CFG is a globalstructure wich contains all of your configuration settings (database settings, webadress, dirroot of your moodle etc). It is not a table, it is a structure that is created from your config.php file when you accessing moodle. You can reach the elements like it is set in config.php, e.g. you need your wwwroot to concat with your relative path, so you write $CFG->wwwroot.'1.jpg' if this picture is in yourmoodle files root and apache can look through this dir and so on.
You can find all of your moodle tables either in your mysql database after moodle is set up, or you can use phpmyadmin tool to access it through web interface.
Hope this helps
EV