What is self-incompatibility?

What is self-incompatibility? Why does self-pollination not lead to seed formation in self-incompatible species?

Self-incompatibility is a genetic mechanism to prevent self-pollination from fertilising the ovules by inhibiting pollen germination or pollen tube growth in the pistil. Due to the inhibition of self-fertilisation, self-pollination does not lead to seed formation.