Pansexuality is when a person is attracted to someone regardless of their gender identity. Essentially, pansexuals are attracted to the person, and it doesn't matter what gender that human being is.
GLAAD says, "While being bisexual means being attracted to more than one gender, being pansexual means being attracted to all gender identities, or attracted to people regardless of gender."