How to use "behaving" in a sentence

Sentences

After that, you'll have two days of tests, to check that your body is behaving normally under pod conditions."

How is everything? Your mom and gran? Is Apat behaving himself?" Sala was surprised

Michael was behaving like a spiteful child