What's the relationship between UObject and UClass

I have one more doubt, please clarify which one of what follows is right. For each class derived from UObject, 1. a separete class derived from UClass is generated or 2. an instance of UClass is generated?