The term branching is used wherever hierarchies divide. Branching can occur in networks or their topology, in programs and subprograms, in transmission channels and bit streams, in text and image links, in hardware components such as end split ters or cable splitters, couplers or demultiplexers.
In programs, there are branches to subroutines, after a conditional statement, for example, an if or else statement, or a case distinction. In addition to program branching, there is also splitting
.This occurs when several branches can be followed in parallel from one point in the program flow. These are completely different workflows that are not related to each other in terms of content.