Depending on the structure of cells (shapes and organelles) we can differentiate cells and therefore create different groups and classifications based on their differences and functions.
The eukaryote-prokaryote division bases itself on the possesion of a nucleus that creates a boundary for the genetic materifal. In this case, eukaryotes have it while prokaryotes don't.
Hope it helped,
BiologiaMagister