It joins two longitudinal profiles with the condition that these to have a common point at the heads.
If the longitudinal profiles have cross connected profiles then at the new longitudinal profile created these cross profiles will be connected.
At joining the start distance attribute (kilometers or miles) of the new longitudinal profile is calculated relatively to the start attribute of the first selected longitudinal profile.