Millipedes are the class Diplopoda, where most segments appear to have two pairs of legs. This happened because each pair of body segments fused (joined) into a single unit, which gives them the appearance of having two pairs of legs per segment. 