How does both plant and animal cell membrane work?