The Dot Product multiplies 2 vector inputs and add them and converts it into a number value .

In upper example , the process of multiplication was :

5X5=25 , 0X3=0 , 6X2=12

25+0+12=37

Note: This is not the official writer just I explained simple than original one .

Original : Dot Product