Sweeps generate surfaces and polysurfaces using 2 Primary Curves, rail curves and cross-section curves.
extrudecrv and extrudesrfextrudecrvtopoint and extrudesrftopoint.extrudecrvalongcrv and extrudesrfalongcrv.sweep1 and sweep2
Extrusion keeps all isocurves parallel to source curve.

Sweep keeps all isocurves perpendicular to the cross-section curve.
sweep commands are composed of rail curves, and cross-section curves.cross-section curves are "swept" and the rail curve.rail and which is the cross-section produces different results.
Triangle is cross - section

Arc is cross section
Sweep1 allows only one rail curve, but allows multiple cross section curves.sweep1, you are prompted to specify each curve type, followed by a dialogue box, allowing you to specify the type of Sweep.
cross-section curves allows you to transition between curves along a rail.
A sweep1 using a circle as a rail and one arc and one half-circle as cross-section curves.
Closed Sweep in the dialogue box will create a surfaces which closes on itself.