Composition and dynamics of the solar-wind plasma