A lemon ripens over time as it is exposed to sunlight. It undergoes a natural process of enzymatic breakdown of its acids and conversion of starches into sugars.