Stomach problems?

Can having gas give you stomach problems? My stomach has been making some gurgling noises and I keep getting pains in the lower middle part of my stomach and some on the left side.