Dear student
similarity:
1 ) they both catch the shape of the container they are kept in.
2 )Liquid and gases both don't have a definite shape.
Dissimilarity:
1) The liquid has a medium force and attraction between molecules but gases have a very less force and attraction between molecules
2 )The liquid cannot be compressed easily but gases can be compressed easily as there are more gaps between them.
Regards