Global Custom Commerce interview question

Why do we use IDisposable?