OK, but I'm still a bit confused about the relationship between 'Generation' and frequency.
As I keep saying, there isn’t a direct relationship between generation and frequency. A mobile “generation” is mainly about the radio technology and network architecture: how the spectrum is used, how data is encoded, how devices are scheduled, how antennas are used, how handover works, latency, efficiency, and so on.
The frequency spectrum is divided into bands, and in the UK licences for mobile spectrum are issued by Ofcom. Those licences are valuable, so once an operator has spectrum it wants to use it as efficiently as possible. Moving from 2G to 3G to 4G to 5G generally means using the same scarce radio resource more cleverly, not simply “using a higher frequency.” Ofcom lists UK mobile/wireless broadband spectrum across bands such as 700 MHz, 800 MHz, 900 MHz, 1400 MHz, 1800 MHz, 2100 MHz, 2300 MHz, 2600 MHz, 3.4–3.8 GHz, and 3.8–4.2 GHz.
5G can use multiple kinds of spectrum. In the UK, 700 MHz is useful for wider-area coverage, 3.4–3.8 GHz is a key mid-band range for higher-capacity 5G, and very high bands such as 26 GHz are aimed more at dense/hotspot use where short range is acceptable in exchange for very high capacity. Ofcom awarded 700 MHz and 3.6–3.8 GHz spectrum for services including 5G.
2G in the UK has historically used bands such as 900 MHz and 1800 MHz. Those frequencies are not “2G frequencies” in any permanent sense; they are just licensed spectrum that happened to be used for 2G. Operators can refarm spectrum: switching off older technologies and reusing the same frequency range for 4G or 5G, which can deliver much more capacity from the same airwaves.
So, yes, 5G often uses more and sometimes higher frequency ranges than 2G did. But the performance improvement from 2G to 5G is not mainly because “the frequency went up.” It is mostly because the technology using the frequency became much more efficient, and because operators may also have more total bandwidth available.
That said, the physics still matters. Lower frequencies usually travel farther and penetrate buildings better, which is why bands around 700/800/900 MHz are valuable for broad coverage. Higher frequencies usually have shorter range and poorer penetration, but there is often much more bandwidth available, which makes them useful for high-capacity urban or hotspot deployments.
In the UK, 2G will not continue indefinitely: operators have told Government they do not intend to offer 2G and 3G past 2033, and Ofcom says individual operators may switch off earlier.
For each 'G' one sees a range of frequencies mentioned. Does this mean that phones have to be able to switch between, and use, different frequencies according to 'what they find', or what?
Yes — broadly, phones do switch between different frequencies, but not by randomly scanning and using whatever they find. That implies the phone is like some sort of passive FM radio that knows how to jump from 88.1MHz to 90.5 MHz to keep listening to radio 2 when the signal strength on 88.1 degrades; management of cell networks is incredibly more active than that and a true engineering marvel
A phone is built to support a set of frequency bands and radio technologies: for example GSM/2G, LTE/4G, NR/5G, depending on the model. The mobile network also broadcasts information telling phones which cells and bands are available nearby. The phone measures signal quality, reports it to the network, and the network normally decides when the phone should move to another cell, another frequency, or another technology.
Each “G” can operate on several possible frequency bands. A phone must support the relevant bands, and the network must be licensed and configured to use them. The phone does not just choose any frequency; it camps on and hands over between authorised network cells.
For example, a phone might use:
700/800/900 MHz for broader coverage, especially rural or indoor coverage;
1800/2100/2600 MHz for more urban capacity;
3.4–3.8 GHz for high-capacity 5G;
and possibly mmWave in some countries or dense hotspot deployments.
Thus, phones are designed to work across multiple frequency bands, and they can switch between them. But they do not simply hunt around the spectrum and use whatever they find. The network broadcasts information about available cells and frequencies, and the phone measures signal strength and quality. The network then usually instructs the phone to use a particular cell, band, or technology.
This is why phone specifications list lots of bands: a given model has hardware support for some set of 2G/3G/4G/5G bands, but it can only use bands that both the phone and the operator support in that country.
So when people say “2G uses these frequencies” or “5G uses those frequencies,” they mean those technologies can be deployed on those licensed bands. In real use, the phone may move between different frequencies as you move around, as capacity changes, or as the network steers it between coverage and speed.
Modern phones can sometimes use several frequencies at the same time. With 4G this is called carrier aggregation, and with 5G there are similar mechanisms, including using 4G and 5G together in some deployments. So it is not always just “switching”; sometimes it is combining multiple carriers to increase speed.