Good morning, y.moghdamnia, welcome to physics forums.
dr and ds are not the same thing at all. We actually want ds, but use dr as the next best thing.
Since you are approaching line integrals through vectors here is a vector explanation of what is going on.
With reference to the attached diagram.
ds is an element of any suitable curve C.
Note ds is curved and measured along C.
In order to specifiy the curve we consider a centre O and a vector r from O to any point (A) on the curve.
Now let us move along the curve to another point, B.
the vector r changes to another vector r+dr
The distance along the curve is ds. Note it is curved.
In order to recover dr we take the vector difference (r+dr - r) = dr
Note that this is like all vectors, a straight line. Further it is tangent to the curve at A.
Further note that this vector difference is given by the closure of triangle AOB as in the diagram.
Now we are doing some (simple) vector calculus, which follows the same pattern as elementary scalar calculus you are already familiar with.
We let dr approach smaller and smaller values (zero) and take the limit, where we find that
dr and ds concide. But only at A.
does this help?