Is this normal?

So today I went to the bathroom to change my pad and I saw this thing and it was red and clumpy can anyone tell me what it is and why it is there ??