The short answer
Around 90% of all wine is made to be drunk within a year or two of release and will not improve with keeping. Ageing rewards a small minority of bottles with the structure to survive it: high tannin, high acidity, concentration, or sugar.
Age itself is not the qualification. A soft, low-acid wine at ten years old is a tired soft wine, not a mature one. What lets a bottle develop is the same structure that makes it slightly awkward when young.
What actually ages
Four things extend a wine's life: tannin, acidity, concentration and sugar. Tannin acts as a structural preservative and softens over time; acidity keeps the wine fresh as fruit fades; concentration gives it something to lose; sugar preserves outright, which is why dessert wines outlive almost everything.
What does not extend it: price, reputation, or a famous appellation on the label. A cheap Barolo will outlive an expensive Pinot Grigio because of what is in the glass, not what is on the label.
Storage matters more than the window
Heat is the enemy. A bottle kept at 25°C ages perhaps four times faster than one at 12°C, and not in a good way: heat produces stewed, flat flavours rather than mature ones. Temperature swings are worse than a stable temperature that is slightly too high.
Then light, then vibration, then position. A cork needs contact with the wine to stay sealed, so lay corked bottles down; screwcaps do not care.
The honest answer for most people without a cellar: buy closer to when you want to drink, and use the money you would have spent on storage on better bottles.