What causes colic in babies?

there are many things that causes colic in babies, but the number one thing, that i think is gas. it happens alot when a baby gets too much air while drinking a bottle.