Postgraduates have a choice of both coursework and research.
Coursework degrees involve mainly attending classes and possibly writing a thesis, but do not involve significant research.
Research degrees involve, in many cases exclusively, research and writing a thesis. Examples are PhDs and the master's by research degree.