Identical twins inherit their genes from the same egg and sperm. This happens when a single fertilized egg splits into two embryos, each with the same genetic material. As a result, identical twins have nearly identical DNA, which is why they look very similar and share many traits.