CO /smoke detectors have an expiration date - shelf life. It is noted on the unit but is around 5 years for CO.
At that point the sensor has reached its life expectancy and need to be replaced. Smoke detectors are 10 years.
Villages homes have a mixture of both with CO by the bedrooms
Smoke alarm outreach materials