We assume the bosonic string is a composite object of the relativistic particles. The behavior of the relativistic particles in a curve enables us to obtain the Nambu-Goto and the Polyakov actions of the bosonic string. We observe that the particles of these strings move with non-constant speeds along them.