The dot product of two vectors A and B, written as A·B, is a scalar equal to the magnitude of A times the magnitude of B times the cosine of the angle between them. The dot product is commutative and distributes over vector addition. It can be used to find the component of a vector that is parallel to a given line and the angle between two vectors. Applications include finding the angle between two lines and resolving a force into components parallel and perpendicular to a structural member.