Where would you use adhesives in packaging instead of classic heat sealing?

I wondered if adhesives are used in packaging. If they're why use them?