why do we get sad when a celebrity dies

I was sad when I saw the news of the death of Robin Williams. He seemed like one of those actors that would be around forever. You couldn't really imagine him dying. We took his presence for granted as if it would always be there. As soon as I found out of his death I, like thousands of others across the world, shared my sadness on social media.