Avocados are all about compromise. One moment they're green and barely edible — then we blink and they're overripe.

(Courtesy Food52.com)

While we try to outwit Mother Nature and her too-darn-short window for a perfect avocado — by putting them into a variety of contraptions like the oven, brown paper bags, or the fridge) — the majority of the avocados we eat have some sort of imperfection. Here's what the brown spots, bruises, and stringy black lines on your avocado flesh mean — and whether it's still okay to eat:

(Courtesy Food52.com)

Oxidation

Like apples left out too long and some orange wines, browned avocado flesh is the result of oxidization. And like other fruits that brown, avocados contain an enzyme called polyphenol oxidase. This enzyme catalyzes phenols, a class of compounds found in avocados, into quinones, which are capable of joining smaller molecules together into long chains. (Otherwise known by their less technical name: gross, browned avocado bits.) This process actually enables avocados to last longer, as quinones are toxic to the bacteria that cause rot, but it shortens the window of time they can be actually enjoyed.

In short, it's best to eat avocados as soon as possible once cut, or keep them in airtight containers so that they don't suffer from damage from oxygen.

(Courtesy Food52.com)

Damage and immaturity

The black, stringy lines you sometimes see in avocado flesh are from damage to the fibers that run longitudinally through the fruit. As Lindsay-Jean put it, "Stringy avocados are either from young trees (they'll start to produce better fruit as the tree matures) or were improperly stored."

While it can be difficult to avoid avocados with stringy fibers — especially as the increasing demand for avocados forces more farmers to harvest from immature trees — purchasing fruit from older avocado farms with established trees is a good place to start. Either look online for information on your sellers or ask farmers at your local market how old their trees are — while avocado trees start bearing fruit at three to five years, they don't reach full maturity until five to seven years.

(Courtesy Food52.com)

Too ripe

When avocados are overripe, they take on the similar brown color of avocados that have had a bit too much air — and like the oxidized fruit, they may have a funky flavor. But they're still completely safe to eat, just like the over-ripe banana you put into your banana bread. (Try them in a salad dressing or a smoothie.)

This story was originally published on Food52.com: Why you should stop tossing imperfect avocados