Munich has buses, trams and an underground. Everything is integrated so that you can use the same ticket on each.
The city website has an extremely helpful section in English, which explains how the system works, how to plan your journey and what kinds of tickets you can buy.