The Bashrc file is used by the Bourne Again Shell in Unix/Linux to set environment variables and run commands.
It is most often run when logging into a command-line shell or running 'su' to switch to another user. It use to set environment when user logged in.