f the available slices. NSSF plays a key role in enabling network slicing. When a device connects to a 5G network, NSSF is responsible for evaluating the device's requirements and the capabilities of the available slices, and for selecting the most appropriate slice for the device. NSSF can also be responsible for negotiating the terms of service for the slice, such as the bandwidth and latency requirements, and for managing the allocation of resources to the slice. In the context of 5G networks, AMF and SMF are responsible for managing and controlling the different slices that have been created on top of the shared physical infrastructure. AMF is responsible for managing access to the network and enabling devices to move between different slices and coverage areas. SMF is responsible for managing the establishment, maintenance, and teardown of sessions between devices and the network. Both AMF and SMF use information from NSSF to determine the appropriate slice for a particular device or application, based on its requirements and the capabilities of the available slices. AMF and SMF also work with other network functions, such as the UPF and the PCF, to ensure that the appropriate resources are allocated to the slices and that they are able to meet the performance and QoS requirements for the devices and applications they are serving. The gNodeB (gNB), which is a type of base station, is responsible for managing and controlling the RAN. It manages the connection between devices and a network, and enables devices to communicate with each other and other network elements. For network slicing, gNB is responsible for routing traffic to and from the appropriate slice, based on the requirements of the devices and applications it is serving. It also works with other network functions, such as AMF and SMF, to ensure that the appropriate resources are allocated to the slices and that they are able to meet the performance and QoS requirements of the devices and applications they are serving. Network Slice Instance (NSI) i