Carbon fiber bikes have two main properties that can affect performance:
1. they are a little lighter. This doesn't matter nearly as much as most cyclists think, but it does matter a bit. If you race competitively in the mountains, you might care.
2. There is more design freedom for shaping them aerodynamically. This makes a bit more difference than weight, and if you are competing you definitely want it.