¿Qué hace un ministerio y cómo se crea o elimina uno?

Cada gobierno reorganiza gabinetes. ¿Es solo marketing o tiene efecto real?