Now what i thought was that it might be used to connect 2 computers with each other so i tried that and connected 2 computers with each other using it and nothing happened
Can anyone tell me what this cable is even used for ???
Not exactly equal. One will try to feed to another which can kill it. It's not made to be connected like this. Maybe they could even fight if it tries to compensate by increasing voltage.
But hopefully there's some protection that disables the USB port before something ugly happens.