Light is made up of photos, which do not have mass. Hence, on the face of it, light doesn’t have any mass and can’t be used to weigh anything. However, photons do contain energy. But Albert Einstein’s famous equation E=MC2, which means energy equals mass times the speed of light squared, illustrated that energy and mass can be used interchangeably.