What is this?

Ok I got a few questions. I’ve inserted an image. First of all why do these have two different icons? How can I change one to the other? What is this for?