The scalar product can be used to test if two vectors are perpendicular as this video demonstrates.

Test for perpendicular vectors

Finding a vector that is perpendicular to two other vectors