In mathematics, the term "inner product" refers to a mathematical operation that takes two vectors and produces a scalar. Synonyms for the word "inner product" include dot product, scalar product, and scalar product of vectors. The dot product refers to the product of the magnitudes of two vectors and the cosine of the angle between them, while the scalar product refers to the product of the magnitudes of two vectors and the cosine of the angle between them, with one vector considered a scalar. The scalar product of vectors refers to the sum of the products of corresponding components of two vectors, also known as the dot product or inner product.