Solar eclipse occurs when the moon passes between earth and the sun, thereby blocking the sun and preventing any sunlight from reaching earth, totally or partially.