Grams are used as a measurement of weight, while cups are used as a measurement of volume. To convert grams into cups, you also need density.