Nanoparticles interact through light