MammaPrint works by examining the expression levels of 70 specific genes in a tumor sample. These genes are known to be involved in the processes of cancer growth and metastasis. The test uses a microarray technology to measure the gene expression levels, which are then processed through an algorithm to generate a risk score.