Imagine you are playing a game where you run around a giant playground. Every time you run around it and come back to the same spot, it takes you one year to finish the game. This is just like the Earth, which is also running around a giant playground-sized race track called its orbit. When it finishes one lap, we say one year has passed.
But here's the catch: there are two different ways to measure one year, and they are not the same. One way is to measure how long it takes for the Earth to complete one full lap around the Sun, which is called a "tropical year". But another way is to measure how long it takes for the Earth to return to the same spot in the sky relative to the stars, which is called a "sidereal year".
Why are they different? Well, imagine again that you're running around the playground, but this time you're also carrying a big flagpole. Every time you make a complete lap, you turn to face the same direction so that the flagpole always points in the same direction. But now imagine that there are also other kids running around the same playground, each carrying their own flagpole, and they're all running at different speeds and in different directions. Even if you still make one lap and face the same direction at the end, your flagpole won't be pointing at the same spot in the sky as the other kids' flagpoles.
The Earth is like you with the flagpole, and the other kids are like the stars in the sky. The Earth's orbit is not a perfect circle but a slightly elongated shape called an ellipse, and it's also tilted at an angle relative to the plane of the solar system. This means that as the Earth runs around the Sun, it also appears to move slightly against the background of stars. It's like you're running around the playground while also moving from side to side and up and down. So even though you come back to the same spot relative to the Sun after one lap, you're not facing the same stars in the sky as before. That's why it takes the Earth a bit longer to complete one sidereal year than one tropical year.
To make it simple: A sidereal year is how long it takes for the Earth to go around the Sun and come back to the same spot relative to the stars in the sky. It's slightly longer than a tropical year because the Earth's orbit is not a perfect circle and is also tilted relative to the stars.