Updating the phone software
Back in the early days of Android, system updates were very random: they would roll out at different times, and often several times per year.Now, Google has taken a much more streamlined approach, releasing one major Android update per year and much smaller, security-focused updates once per month.
These phones are designed, sold, and maintained by Google, so they get updated when the latest versions of Android are available—on time, every time.
While there have been 14 different i Phones released since 2007, As such, Android phones use a wide variety of different hardware.
Some phones are made to be super cheap, available free on contract or for inexpensive purchase by people in developing countries.
Android manufacturers often aren’t as interested as they should be in updating devices after they’re released (especially cheaper ones).
With the large amount of models being released, there’s little incentive to put a lot of work into updating an older model that’s been replaced by a newer one, especially when they’d rather encourage you to buy the newest model anyway.