Identical twins: One egg is fertilized, splits, both develop. They are always the same sex.
Fraternal twins: Two eggs are fertilized, both develop. Can be different sexes. Like the two kids on Hi and Lois. Or they can be the same sex. If twins have different fathers, it would mean Mom was…well….busy.