LTIMindtree Interview Question

what are smart pointers and what is their use?