HARMAN interview question

What is shared pointer used for