Before anything else, let’s look up what BASH is.
Basically, BASH is a type of shell. A shell is an interpreter of commands in a command line environment. We use BASH and it’s syntax to instruct a computer to do things aka as programming.
For every environment, we have settings to configure. .bashrc and .bash_profile does that for us.
We declare our setting in these files. An example would be the PATH.
The difference between the .bashrc and .bash_profile is that the .bash_profile is used on login environments. By default, when we login to a terminal the .bash_profile will be used.
If the environment or application doesn’t need any login permissions, .bash_rc will be used.