而 is a literary conjunction. In the pattern 因A而B, it means 'because of A, B happens.' In A而B with adjectives/verbs, it means 'but/yet.' More formal than 但是.
usage
Common compounds: 而且 (moreover), 然而 (however), 而已 (that's all), 从而 (thereby). 而 adds a literary or formal tone.