Energy is measured in Joules and Mass is measured in Grams.
The speed of light is 299792458m/s. This formula was created by Albert Einstein, showing that energy can be transformed into matter. E measures the energy and m is the mass or how much matter the energy gets transform to.