Why do we burp?

to get air out of stomach.

When we burp the gases present in the stomach comes out.