が is mainly used to express the subject, but also can be used to express the objecct.
I want to eat a hamburger.
を is used to express the object of action, the starting point and the passing point of movement, and so on.
I will leave home at 6:00 today,
I walk in the park every morning.
に is used to express the place of the existence, time, the arrival point of action, taker of the item, the objective, and so on.
The place of the existence:
There is an apple on the table.
I will leave home at 6:00 today.
The arrival point of action:
I will go to McDonald's today.
さとうさん は すずきさん に プレゼント を あげました。
Mr. Sato gave a present to Mr. Suzuki.
で is used to express the place where the action or event take place, method, cause or reason, subject, and so on.
The place where the action or event take place:
I will play soccer at the park.
I go to the workplace by the car everyday.
I took leave from school because of cold.
Everyone will play soccer all together.
と is used to express someone with whom doing something cooperatively, someone who are interecting with, and so on.
I will make a cake with my mother today.
I had a fight with Mr. Suzuki today.
へ is used to express the direction. Mostly, へ can be replaced with に.
I will go to McDonald's today.
から is used to express the starting point of time or place, the material, and so on.
The starting point of time:
その えいが は 10:00 から はじまります。
That movie will start from 10.
The starting point of place:
Cheeze is made from milk.
より is used to express the comparison, the starting point, and so on.
The United States is bigger than Japan.
It started to snow since yesterday.
まで is used to express the arrival point of time or place, and so on.
The arrival point of time:
I will work until six today.
The arrival point of place:
I will go to Tokyo by the car.
Comparison between Two Items
https://anchor.fm/yuya-sato/episodes/Comparison-between-Two-Items-eo3tpc