What area of the brain is responsible for the basic rhythm of breathing?

The medulla sets the basic rhythm of breathing.

The pons centers smooth out the basic rhythm of inspiration and expiration set by the medulla.