There is this long line in my shaft that is kind of hard and I don't know what it is

image

I don't know what to do and whether it's a bad thing and I need some help

looks normal to me. if you are worried see a doctor.

As Andrew suggests the people who would know what you have would be a Medical Professional, particularly a Urologist if you can get to see one …