Compositing would not be compositing without layering. The merge menu is where all the layering nodes can be found.
The many ways that two layers can be merged together:
What B feed primacy is and why it is important (also mentioned here).
Merging often requires that the bounding box needs considering.