What is the function of medulla oblongata?

What is the function of medulla oblongata?