Complex sentence: The university has three teaching departments.Each of the departments run undergraduate courses and some postgraduate as well.
Split into simpler sentences: The university has three teaching departments. Each runs undergraduate courses and some postgraduate as well.