Put the difference of two files in out file

Hello,

I have two files file1 & file2 containing both lines (1 word per line). I need to extract the lines that are in file1 and not present in file2 and have the result in output file.

i.e :

user>cat file1
line1
line2
line3
line4
line5

user>cat file2
line1
line3
line5

The output file should only contain :

user>cat output
line2
line4

diff command is not fullfilling my nedd as it returns :
user>diff file1 file2
2d1
< line2
4,5d2
< line4
< line5
user>

Thank you

Sort the files before using comm command

$ comm -23 file1 file2
line2
line4

Thank you, it's working