Alert Innovation interview question

Explain how smart pointers work?