to put it in a simple way
Black box Testing tests the functionality of software .It does not need knowledge of coding. so we will not lokk into the code.As you said, it is also called as Behavioral testing.
White Box testing tests the internal module of software.It require knowlege of coding. We need to check all the loop structure and modules inside the code.It is also called as structral /glass box testing.