Both penalties shrink weights to fight overfitting. Only one of them can actually zero a weight out — and that difference comes straight from the shape of the penalty, not from a tuning knob.
Ask an engineer why Lasso (L1) produces sparse models while Ridge (L2) doesn't, and a common non-answer is "L1 penalizes harder." It doesn't — for small weights L1's penalty is actually gentler than L2's. The real reason is geometric: L1's penalty has corners sitting exactly on the axes, where one or more coefficients equal zero, and gradient-based optimization gets pulled into those corners. L2's penalty is a smooth circle with no corners anywhere, so it shrinks every weight toward zero without ever landing exactly on it. Same goal — control model complexity by penalizing large weights — completely different mechanism for getting there, and that mechanism is what decides whether you get automatic feature selection or not.
Both regularizers add a penalty term to the loss: L1 adds λ Σ|wᵢ|, L2 adds λ Σwᵢ². Framed as a constrained optimization, minimizing loss subject to a budget on the penalty, the constraint region for L1 is a diamond (an L1 ball) with corners sitting exactly on the coordinate axes, where one or more coordinates are zero. The constraint region for L2 is a sphere with no flat edges or corners at all. When you shrink the elliptical loss contours down until they just touch the constraint boundary, that first point of contact is the solution — and geometrically, an ellipse is far more likely to first touch a diamond precisely at one of its corners than a sphere is to touch it at a point where a coordinate happens to be exactly zero. That is the entire mechanism behind Lasso's automatic feature selection: it isn't that L1 "tries harder" to zero things out, it's that zero is a geometrically favored landing point only for the diamond.
No — increasing L2's λ shrinks every weight further toward zero, but because its gradient (2λw) itself shrinks proportionally as w gets small, the pull weakens right when a weight is closest to zero. The weight asymptotically approaches zero but essentially never lands on it exactly, no matter how large λ gets — you end up with many tiny, non-zero coefficients instead of a sparse model. L1's gradient (λ · sign(w)) stays constant in magnitude all the way down to zero, so once a weight is pushed to zero it gets clipped there by the optimizer (specifically via the soft-thresholding operator in coordinate descent, or the subgradient at 0 in other solvers) and stays exactly at zero. Turning up λ in L1 doesn't just shrink weights harder, it recruits more weights into that sparse zero set. Turning up λ in L2 shrinks everything more, but keeps essentially all features "in" the model at some small nonzero weight. This is also why Elastic Net exists: it mixes both penalties (αλΣ|wᵢ| + (1−α)λΣwᵢ²) to get some sparsity from the L1 term while retaining L2's better behavior with groups of correlated features, where pure Lasso tends to arbitrarily pick just one feature from the group and zero out the rest.