Eggs provide emulsifying properties and contribute to the texture of white chocolate mousse. In my recipe they are  separated, with the yolks being cooked  with the chocolate and sugar to make a custard-like cream sauce  and the egg whites are aerated into a frothy meringue.