used to say 'yes' strongly
"Can you help me?" "Of course!"
“你能帮我吗?”“当然!”
used to show something is obvious
Of course, the Olympics are not just about money.
当然,奥运会不仅仅是关于钱。