I know that work = force times displacement with vectors ($W = \vec{F}\cdot\vec{D}$) can be calculated in the same way as a dot product, but it seems to me that it isn't really a dot product. The reason being is that they seem to be vectors in different coordinate systems. One of the vectors has a unit of length of "force size", and the other vector has a unit of length of "distance travelled". I'm not arguing with the process of calculation, but it seems to me that calling it a dot product is actually a confusion of terms. Can someone explain to me how to make it make sense as a dot product since the units are different?
The way that I would solve it from first principles is to convert the force into the direction of the distance using trig (which would get the force multiplied by $\cos(\theta)$), and then multiply it by the scalar distance that it travels in that direction.
Note - I am aware of this question, which covers the calculation piece. Again, my question is to whether this is truly a dot product or just calculated with the same steps.