What is meant by compounding of offences?

Section 320 of the Code of Criminal Procedure
defines “compounding” as to forbear from prosecution for
consideration or any private motive.