What is a rainbow baby????

I'm confused because I thought it means when like a lesbian or gay couple are having a baby. But then I see people posting it when they are in a typical male and female relationship! Please explain 🤔 genuinely confused