Burning when passing urine, along with urine odor is a symptom of a urinary tract infection.
It will be a good idea to check your blood sugar levels, since uncontrolled diabetes may lead to urine smelling sweet, and also makes one more prone to get an UTI.