Particle-production mechanism in relativistic heavy-ion collisions