Inclusion Criteria:  Overweight to obese (BMI 28-35 kg/m2) Normal resting ECG  Specific for patients with T2D:  In antiglycemic treatment with diet +/- metformin, SLGT-2 inhibitors, sulfonylurea, GLP1-RA, or DPPV-4 inhibitors Time since diagnosis max 4 yrs  Exclusion Criteria:  Diagnosed with cardiovascular disease (minor to moderate hypertension allowed, defined as prescribed maximally two different antihypertensive drugs) Epilepsy Kidney disease (GFR<50 ml/min) Regular exercise activity Inability to perform bicycling and rowing ergometer exercise Inability to understand Danish language (written and spoken)  Specific for patients with T2D:  - Insulin treatment