I think:
For a polynomial, $p(x) = a_nx^n + ..... + a_1x + a_0$ we say that $b$ is a root if $p(b) = 0$. This happens if and only if $p(x) = (x -b)(c_{n-1}x^{n-1} + .... + c_1x + c_0)$ where $(c_{n-1}x^{n-1} + .... + c_1x + c_0)$ is another polynomial.
Example $2,-2, 3$ are all roots to $p(x)= x^3 -3x^2 - 4x + 12$ and $p(x) = (x-2)(x+2)(x-3)$.
We say $b$ is a "multiple" root if $p(b) = 0$ and $p(b) = (x-b)(x-b)(c_{n-2}x^{n-2} + .... + c_1x + c_0)$ because $(x -b)$ does just divide into $p(x)$ once; it divides into it multiple times.
Now. Here is a neat thing about multiple roots of polynomials:
If $b$ is an "k multiple root of $p(x)$ that means $p(x) = (x - b)^kq(x)$ for some other polynomial $q(x)$. So $p'(x) = k(x - b)^{k-1}q(x) + (x - b)^kq'(x)$ and so $p'(b) = k(b-b)^{k-1}q(b) + (b -b)^kq'(b) = 0$. So not only is $p(b) = 0$ but $p'(b) = 0$.
We can repeat this down to the n-1 derivative.
Okay, that was because $p(x)$ is a polynomial.
$f(x) = e^{x-1} - x$ is not a polynomial. We can not factor $f(x)$. (Not for any significant purpose at any rate.) But $f(1) = e^{1-1} - 1 = 1-1 = 0$ so $1$ is a root of $f(x)$ because $f(1) = 0$.
Furthermore $f'(x) = e^{x-1} - 1$ and $f'(1) = e^{1-1} -1 = 0$. So both $f(1) = f'(1)=0$ so $1$ is a root of both $f(x)$ and $f'(x)$. Just as a double root for a polynomial was.
Although I haven't ever heard anyone call $1$ a "double root" of $f(x)$ but maybe some instructors do refer to "double roots" meaning $f(x) = f'(x) = 0$.