From what I have heard from human intersexuals, in most cases one of the two organs is a micro-organ and doesn't work. In the plant kingdom, it's a way to keep the species alive. In mammals, ladyboys are just mutations.