When the male produces two types of gametes and has a role to play in sex determination, it is called male heterogamety.
Example: XY sex chromosome in male humans.
When the female determines the sex of the baby and produces two types of gametes having different sex chromosomes, it is called female heterogamety. Example: ZW sex chromosome in female birds.