## Short answer
Sedges have edges, and they're in different families.
See Minnesota Wildflowers for a great summary with images.
## Long answer
Both are in the order Poales, but they are in different families:
* Grasses = **Poaceae** (of the graminid clade)
* Sedges = **Cyperaceae** (of the [non-monophyletic]1 cypirid lineage)
**Some anatomical differences** :
:4-16.