How to change categories style?

Is there a way to show subcategories under categories as well?