How do pregnancy test strips work?

Pregnancy tests detect the presence of hCG hormone produced by cells formed in the placenta after the embryo implantation.