Actually , If the masses of two different bodies are same and located in the same earth's surface, then weight of body also will be the same. Here, Both, 5 kg cotton and 5 kg iron have the same weight so the both will weigh the same, no one is heavier .
But there is one more explanation , 5 kg of metal is heavier than 5 kg of cotton. This is because the particles in metal are packed more closely together than the particles in cotton.
Explanation
Density: Iron is denser than cotton, meaning that the same volume of iron has more mass than the same volume of cotton.
Space: The same mass of cotton takes up more space than the same mass of iron.
Buoyant force: When weighed in air, cotton experiences a greater upward buoyant force than iron, so it may appear lighter on a scale.
So we can conclude that the question needs more detailing for a presise answer because the answer depends on provided conditions
But there is one more explanation , 5 kg of metal is heavier than 5 kg of cotton. This is because the particles in metal are packed more closely together than the particles in cotton.
Explanation
Density: Iron is denser than cotton, meaning that the same volume of iron has more mass than the same volume of cotton.
Space: The same mass of cotton takes up more space than the same mass of iron.
Buoyant force: When weighed in air, cotton experiences a greater upward buoyant force than iron, so it may appear lighter on a scale.
So we can conclude that the question needs more detailing for a presise answer because the answer depends on provided conditions