Why is white box testing called as glass box testing?

which types of testing come in whitebox testing