An activity can be any kind of task performed in a CI/CD system. The Glimse protocol declares events related to activities to describe what is going on, what is started, finished, current status, etc.
Activities are hierarchical. Activities could be whole pipelines, or sequential or parallel parts thereof.
Some activity types have their own specific events, such as for tests or source changes, while others are more generic and can be notified using Activity events.