electron volts is a unit of energy. Using E = mc^2, one expresses masses in the equivalent energy quantity. It turns out that electron-volts is a convenient scale for the (energy equivalent) mass for elementary particles -- much better than trying to express the mass in kilograms.