Manufacture rebates

Hello, everyone. Can someone please explain how rebates work. For example, I am a veteran and Toyota had a $750 military rebate. I want to know when this rebate is applied to the cost of the vehicle, does the dealership gets this money back from the manufacture.