What will erase and sync erase on my iphone?

I wanted to connect my iphone to a new computer but it says erase and sync, what will it erase? All of the contents or just music?

I think all because I did it before and I lost everything, I'm sure it's the same thing I did anyway