This is a question on probability. We can solve this by seeing how many ways they can sit in the first chair, the second chair, and so on.
There are 5 ways for the friends to sit in the first chair (since there are 5 friends)
There are 4 ways for the friends to sit in the second chair (since 1 friend is sitting in the first chair).
There are 3 ways in the third (since 2 friends are sitting).
There are 2 ways in the fourth (since 3 friends are sitting).
And there is 1 way in the fifth (since 4 friends are sitting).
Now we have to multiply all the values. 5 * 4 * 3 * 2 * 1 is 120, so there are 120 different seating arrangements.