what does jailbraking do?

does it wreck the iphone?

once it is done, can it be reversed?

will it effect anything on the phone at all?

thank you