controversial topic, but in my opinion, gender is split into two sections
Biological: The Gender you were assigned to at birth. You can't exactly change your DNA... unless scientists figure out how to do that
Identificational: The Gender you most align to. Some people think that they want to be a different gender, so they change this category to fit themselves so they can live the life they want.