Here's the logic behind the answer.
There are eight possibilities for the first digit.
No matter what the first digit is, there are now only seven possibilities for the second digit, because you can't use the same digit again.
For the third digit there are 6 possibilities, because you've already used 2 digits and they can't repeat.
For the fourth, there are 5 possibilities.
For the fifth, there are 4 possibilities.
So, that gives you:
8 x 7 x 6 x 5 x 4 possibilities
or 6720 possibilities