Bleeding after birth?

Jazz • Loving life💜
After giving birth what do you wear those pads/hospital undies for? Is it because you bleed after birth or discharge?? How long does if usually last?