Pergunta de entrevista da empresa BAE Systems

Why would you use smart pointers over raw pointers?