Location of bash_profile in solaries zone??

Hi All I am very new to solaris and
i want to know what is the purpose of bash_profile file
Where this file is located?
Actually I want to set EDITOR variable to the file so can pls tell me hw can i do it........
one more thing what is bashrc used for is there any relation b/w bashrc and bash_profile?

Both .bashrc and .bash_profile are usually in the users home directory, and are read after the global configuration files are finished (somewhere in /etc).

.bashrc is read for every new interactive shell
.bash_profile is read for every new login shell

Usually, when you login to a system both are read (as it's both a login shell and interactive). If you only open up a new xterm, only .bashrc is read.

Additionally, there's .bash_logout, which is executed whenever a login shell exits.

and by the way there is nothing specific about these configuration files with Solaris zones or even with Solaris in general.