how can you tell the difference

What's the difference between a period and spotting? Does it matter how much comes out? Or is spotting any amount of discharge or blood that isn't during your menstruation time?