Network slicing in 5G allows a single UE to connect to multiple network slices simultaneously. Each slice is identified by a Specific Network Slice Selection Assistance Information (S-NSSAI). The 5G core uses the S-NSSAI to select the appropriate functions like the Session Management Function (SMF) for each slice. This enables isolation of services and network functions on a per-slice basis. The Access and Mobility Management Function (AMF) is common across all slices, but the SMF and User Plane Function (UPF) can differ per slice. This facilitates customized network slices for different use cases and isolation of traffic and functions.