UE 5G diagram

0 — UE

The blue UE box is your phone, tablet, or connected sensor, and it is the starting point whenever you use a 5G service.

Its first arrow goes to a gNB, which is the nearby radio station that helps your device talk to the wider network.

The orange path is for connection messages, while the green path carries your internet data toward services that you want to use.

Technical references: ShareTechnote · 5G network architecture | 3GPP TS 23.501 §4.2

DN 5G diagram

1 — DN

The purple DN box is where the service you want lives, such as a website, game server, or a private company application.

Follow the arrows from your phone through the gNB and UPF, then across N6 to the data network on the right.

The DN sits outside the 5G core, so the UPF acts like a doorway between your mobile connection and that service.

Technical references: ShareTechnote · N6 and Data Network | 3GPP TS 23.501 §4.2.7

5GC 5G diagram

2 — 5GC

The dotted purple 5GC boundary encloses the core network, where several specialized boxes work together to manage connections and move data.

The AMF helps your phone join, the SMF sets up a data session, and the UPF moves packets toward the outside network.

Orange arrows show coordination messages, while green arrows show the user data path from the radio network to the DN.

Technical references: ShareTechnote · 5G core architecture | 3GPP TS 23.501 §4.2.3

UPF 5G diagram

3 — UPF

The green UPF box is like a delivery checkpoint, passing internet packets between your phone's radio connection and the service you are using.

In the diagram, packets travel from UE through gNB to UPF, then leave the 5G core across N6 toward the DN.

The orange line from SMF tells UPF how to handle this traffic, but the SMF does not carry the packets itself.

Technical references: ShareTechnote · UPF | 3GPP TS 23.501 §6.2.3

RAN 5G diagram

4 — RAN

The dotted RAN area contains two gNB stations, while your UE sits outside and connects to one station over the air.

The curved link between gNB A and gNB B is Xn, which helps the stations coordinate when a phone changes coverage areas.

The other arrows lead from the stations toward 5G Core, where the network manages connections and sends user data onward.

Technical references: ShareTechnote · RAN architecture | ShareTechnote · Xn interface | 3GPP TS 38.401

gNB 5G diagram

5 — gNB

The dotted gNB area shows one radio station divided into smaller jobs: an O-RU, an O-DU, and two central-unit parts.

The O-RU handles radio signals, the O-DU processes lower-level communication, and CU-CP handles connection instructions while CU-UP handles user data.

The labeled arrows show how these parts talk to each other and how the station reaches AMF and UPF in the core.

Technical references: ShareTechnote · RAN/CU/DU/O-RU | ShareTechnote · F1 interface | 3GPP TS 38.401

SMF 5G diagram

6 — SMF

The orange SMF box is the session organizer, deciding how your phone's internet connection should work before packets start moving.

The AMF passes session requests toward SMF over N11, and SMF sends instructions to UPF using the N4 control link.

Once UPF is ready, your data follows the green path through UPF to the DN, rather than travelling through SMF.

Technical references: ShareTechnote · SMF | 3GPP TS 23.501 §6.2.2

AMF 5G diagram

7 — AMF

The orange AMF box helps your phone register on the network, so the core knows you are connected and where to reach you.

The gNB sends signalling toward AMF over NG-C, also called N2, while your phone sends registration messages through the radio network.

AMF works with SMF for data sessions and AUSF for checking identity, but it does not forward your internet packets.

Technical references: ShareTechnote · AMF | 3GPP TS 23.501 §6.2.1

NG-U 5G diagram

8 — NG-U

The green NG-U link joins the radio network's user-data side to UPF, carrying packets such as the pages and videos you open.

Follow the boxes from UE through RU, DU, and CU-UP, then along NG-U into UPF before the traffic reaches the outside network.

The labels N3 and N6 mark different boundaries: N3 leads into the core at UPF, while N6 leads out toward DN.

Technical references: ShareTechnote · UPF / N3 | 3GPP TS 38.414 · NG data transport

NG-C 5G diagram

9 — NG-C

The orange NG-C line links the radio network's control side to AMF, letting them exchange messages about setting up and managing connections.

In this split gNB, your phone's radio messages pass through RU and DU before the CU-CP exchanges control messages with AMF.

F1-C links DU with CU-CP inside the gNB, while NG-C crosses into the 5G core, so these are different connections.

Technical references: ShareTechnote · NGAP/N2 | 3GPP TS 38.401 · NG-RAN