In research laboratories, dialysis technique can also be used to separate molecules based on their size. Additionally, it can be used to balance buffer between a sample and the solution "dialysis bath" or "dialysate" that the sample is in. For dialysis in a laboratory, a tubular semipermeable membrane made of cellulose acetate or nitrocellulose is used. Pore size is varied according to the size separation required with larger pore sizes allowing larger molecules to pass through the membrane. Solvents, ions and buffer can diffuse easily across the semipermeable membrane, but larger molecules are unable to pass through the pores. This can be used to purify proteins of interest from a complex mixture by removing smaller proteins and molecules.