Freckles are brown skin spots that appear due to overexposure to the sun, according to Healthline. There are two different types of freckles: ephelides and solar lentigines. Ephelides are the most common type of freckles we think of, and appear more in the summer. Solar lentigines are more like darker age spots that develop as we get older.
Freckles are actually genetic. It depends on the gene known as MC1R, which controls how much melanin you produce (via Marie Claire). If you have an inactive MC1R gene, you're more likely to have lighter skin, hair, and are prone to have more freckle developments.
People aren't actually born with freckles. While your likelihood to get freckles is genetic, you won't actually develop freckles until you have prolonged sun exposure, Marie Claire notes. How many freckles you do develop also indicates how sensitive you are to sun and how likely it is for you to develop skin cancer. Therefore, if you're someone who gets a ton of freckles, it's best to rev up on that sunblock.