Labels and Selectors are a standard method to group things together.
Lets say you have different objects/things and you want filter them based on different criteria.
If we have labeled those objects, you can easily filter them based on different criteria such as their color, type, shape etc..
Even you can use multiple criteria to fine tune your filter.
In other words, labels are properties attached to each item. So you add properties to each item…