This question already has an answer here:
I've always thought refractive index is dependent on the density of the material. The more denser, the more refraction. But kerosene whose density is higher than water has refractive index less than water. On running a google search,i found out that it is dependent on the atom types.But i am unable to understand how.Can someone please give me a simple explanation?