FCI ensures food security by stocking essential food grains, distributing them to the public through the PDS, and stabilizing food prices.