To help explain the two things a bit better for you, but in simple and basic terms for the best understanding:
-Bisexual often refers to liking both males *and* females, but not anything beyond that (or just male and non-binary, non-binary and female, etc., as “bi” means “two”, thus referring to the attraction of *two* genders), though it *can* also mean you like more than the two aforementioned genders. Hence, depending on what genders you specifically feel attracted to, it can be a lot like pansexual, just as a label you may feel more comfortable with.
-Pansexual often refers to liking *all* genders and, in addition to that, being "genderblind" to them. By this, it means that, no matter the gender of a person, you can feel attraction towards them!
However, you may also be omnisexual, which is just like pansexual, but lacking the "genderblindness" (meaning you still feel attraction towards *all* genders, but now with the gender playing a role in your attraction. For example, a pansexual feels the same attraction towards *all* genders, meanwhile an omnisexual may feel more attracted to non-binary people than any other gender).
Hope that helps! ヾ(•ω•`)o