Bcl-2 functions primarily by preventing the release of cytochrome c from the mitochondria, thereby inhibiting the intrinsic pathway of apoptosis. By doing so, Bcl-2 helps in maintaining cell survival, which is particularly important in immune cells such as B lymphocytes.