# Confusion regarding the Biot-Savart law

I was reading about the Biot-Savart law and there were two formulas stated in the textbook. One was stated as the Biot-Savart law

and the other was stated as the field due to a long, straight wire

My question is what is and why is there difference between two formulas.