A solar eclipse happens when the moon blocks the sun, like a giant lid covering part of it. Imagine you're eating pizza with your friend, if they take a bite and cover most of the pizza, that's like a solar eclipse! The moon is the friend taking the bite, and the sun is the pizza.