A spectral line is like a rainbow road made up of different colors. Think about it like this: When you go outside and see a rainbow after it rains, you see many different colors. Scientists call these colors wavelengths of light. Now, imagine looking at the light coming from a star or planet. Instead of seeing one big rainbow, you’d see lots of little stripes of different colors that tells us about what substances are present in that planet or star. These stripes are called spectral lines. Each line corresponds to a different kind of substance, like hydrogen or helium, and they help us understand what things are made of in space. It’s kind of like a code that scientists use to read the secret message of the universe!