Alert Innovation Interview Question

Explain how smart pointers work?