is an activity a class : Sorry for the noob question - still learning.

When building android apps in Android studio, every new activity has it's own XML and java class.  I'm trying to get an understanding of the overall architecture - when creating a new activity how is this stacked in the package as a whole?