A mole can be thought of as two bags of different sized balls. One bag contains 3 tennis balls and the other 3 footballs. There is the same number of balls in both bags but the mass of the footballs is much larger. It is a different way to measure things. Moles measure the number of particles, not the mass. So both bags contain three moles.