Imagine I want to obtain a single layer from the union of three polygons that do not border with each other, i.e. they do not have any edge in common. What would be the right command?
Yes. dissolve
creates MultiPolygons if those to be dissolved are not adjacent.