Can you explain very briefly what CodeDOM is and used for with a simple real life example?

A simple example that covers why would I need it as a developer, in what scenarios?

Thanks

Edit
Report