Fetching details from the dictionary...

to behave; to conduct oneself; to act
to treat (someone) to (food or drink); to entertain (e.g. to lunch)
彼は会議で大人らしく振る舞った。
He behaved maturely in the meeting.
子供の前では優しく振る舞います。
I behave gently in front of children.
パーティーで礼儀正しく振る舞って。
Please behave politely at the party.