Magnesium is what doctors will prescribe if you are bloated and have gas. It is good for liver support and for the intestine.
However, candida depletes mag. so it is very important to supplement, since otherwise you will get worse and worse liver functions.
Because Mag is essential so as to assomilate calcium, it is recommended to supplement with both, since you are likely to have a deficiency in both.