Answer:
While air is compressed in a piston cylinder there are following types of irreversibilities
1.Due to finite temperature difference heat transfer take place between cylinder and surrounding.
2.Due friction force between cylinder and piston .
3.Compression process is so fast due to this ,it leads in the irreversibility of system.