Domanda di colloquio di BAE Systems

Why would you use smart pointers over raw pointers?