Disguise interview question

How would you explain smart pointers to a junior developer?