What does "trio" mean?

Trio: (Mus.) (a) A composition for three parts or three instruments. (b) The secondary, or episodical, movement of a minuet or scherzo, as in a sonata or symphony, or of a march, or of various dance forms; -- not limited to three parts or instruments.

Sources