Rainbow is due to
absorption of sunlight in minute water droplets
diffusion of sunlight through water droplets
ionisation of water deposits
refraction and reflection of sunlight by water droplets