Males have two different chromosome that determine their sex: X and Y
Females have two of the same chromosome which determines their sex: X and X
Chromosomes carry genetic information, and they are called X and Y because that's just just what they look like coincidentally. Look it up! It's pretty interesting.