We all have a material called DNA in our body. We inherit half our DNA from our mother, and half from our father. This means we all have 2 copies of the BRCA1 and BRCA2 genes. Genes are made up of sections of DNA. Genes give instructions (almost like a recipe) for proteins that your body needs to grow and do its job.
BRCA1 and BRCA2 (BReast CAncer gene 1 and BReast CAncer gene 2) make proteins that protect your body against cancer. If these genes have a pathogenic variant (disease-causing error) in them, they stop working and you lose some of that protection (like if there was a typo in a recipe which changed the instructions). Genetic testing helps determine if you were born with a BRCA pathogenic variant.
Women born with a variant in a BRCA gene are at increased risk for breast, ovarian, and sometimes pancreatic cancer. Men are at increased risk for breast, prostate, and sometimes pancreatic cancer.