Of genes and baseball bats

Question: What do a gene, a baseball bat and a cookie have in common?