NavHost
NavHost is a component in Android development, specifically within the Jetpack Navigation component library. It is responsible for displaying fragments or composables based on the current destination in the navigation graph. Essentially, NavHost acts as a container that swaps out the UI elements as the user navigates through the application.
When defining a navigation graph, you associate a NavHost with it. This tells the NavHost which destinations
NavHost is designed to work with both the Fragment-based navigation architecture and the Jetpack Compose UI