What is the meaning of -ics?

Forms nouns referring to fields of knowledge or practice.

Forms nouns referring to activities.

Source: wiktionary.org