Is burping a baby just for their comfort?

Yes, you must get the built up gas out of their lungs and tummies.