if light is considered as particle it occupy space then it might be having weight too.
In such a case is light a matter? if light is a matter than just like air if compressed will be get light in solid state?
@Ankit has explained the answer very nicely. Light can behave as a particle (matter) and as wave in different cases. However, we have to remember that the particles of light, photons, only exhibit mass when moving, their mass at rest is zero. Thus, we cannot have a stationery photon. So, photons cannot be classified as matter in its true sense.
But, it would be theoretically possible to compress light in a classical way by using a ultra high reflective box and storing light in it and slowly compressing the box without letting anything out.
@Ankit...Good effort, keep it up!