We conform to the opinions/behaviour of a group because there is something about that group we value. We identify with the group, so we want to be part of it. This identification may mean we publicly change our opinions/behaviour to be accepted by the group, even if we don't privately agree with everything the group stands for.