This question already has an answer here:
Iridium with a density of $22.56$ g cm-3 & osmium with $22.59$ g cm-3. Data from their respective Wikipedia pages.
Only these two naturally occurring elements have such a high density. I wish to know why. Also If possible the factors affecting the density of any/every elemental substance.