When a user visits a URL with a parameter, Angular Router loads the matching component. The component uses ActivatedRoute to access the route parameters. ActivatedRoute has a paramMap observable that emits the current parameters. The component subscribes to paramMap to get notified when parameters change. Inside the subscription callback, the component reads the parameter value using paramMap.get('id') and saves it to a property. This property can then be used in the template to display or process the parameter. If the user navigates to a different URL with a new parameter, the subscription callback runs again with the new value. If the parameter is missing, paramMap.get returns null. This approach ensures the component always has the latest parameter value while it is active.