What is meant by primer needs to span exon-exon junction?

so that the primers for target mrna you are tyring to amplify for q-pcr/pcr does not also amplify genomic dna which might be contamination from your purification, because the gDNA will not be amplified due to the intronic sequence (primer wont bind) and will only bind the exonic mrna sequence