Flavor physics in the quark sector