My sir told me entropy change due to two reasons 1) entropy created 2) entropy due to heat exchange Prof also said that entropy produced is zero for reversible process but not for irreversible process. But I do not understand how they both are different. I am getting confused. Can anybody explain me this with an example each?