Every plane, as well as every engine, has its own lifetime. Engine's lifetime is measured in working hours, and airframe's lifetime - in the number of takeoffs and landings. After the end
of lifetime, an engine can be demounted and replaced by a new one, but an airframe is often disposed. Here is one of the military boneyards, where disposed MiGs are stored.