Singers put those things in their ears to block out other sounds. If they are hearing other sounds they won't hear their own voice, which can pretty much end up in vocal disaster. Basically they prevent unwanted feedback. They also help them hear the band as well, so that they can stay in tune with the band. These "things" are most often called ear monitors.