To oblige someone means to help them by doing what they want or need. People use this word when they do a favor or help someone kindly.
I will oblige you with some advice.
Can you oblige me by closing the door?
When you oblige someone by law or rule, you make them do something because it is necessary or required. It means they have no choice but to follow the rule.
The law will oblige drivers to stop here.
You are obliged to wear a uniform at work.
If you say you are obliged, you mean you are thankful or happy because someone has helped you. It is a polite way to show gratitude.
I would be obliged if you help me.
She was much obliged for the gift.
To oblige someone means to legally or morally require them to do something. It creates a responsibility or duty for that person.
Contracts oblige both parties to follow rules.
Parents are obliged to care for their children.
To oblige someone means to do what they ask in order to make them happy or satisfied. It is often used when someone politely asks for help.
I would oblige you by lending money.
Please oblige me with some water.