Here's why:
* Eukaryotic cells have a well-defined nucleus where DNA is stored. Transcription, the process of copying DNA into RNA, takes place inside the nucleus.
* Prokaryotic cells lack a membrane-bound nucleus. Their DNA is located in a region called the nucleoid. Transcription happens directly within the nucleoid.
So, the location of transcription depends on the cell type: nucleus for eukaryotes, and nucleoid for prokaryotes.