Do you mean how is an organic compound different from an inorganic compound? If so, an organic compound has carbon, an inorganic compound does not need to have carbon.
You can tell that a compound is organic by seeing if it contain a carbon atom with a hydrogen atom.
if a compound is organic then it must have carbon in it because carbon is organic, so if the compound does not have carbon than it is not organic
If carbon is present, it is organic. If there is no carbon, it is inorganic.
Glucose is an organic compound. Organic compounds by definition are compounds that contain carbon.