Can someone clear something up for me? I'm just confused

I keep reading that if you are working out, having carbs (like sweet potato) after is a good idea. Why wouldn't it be before?

And since I am really overweight and my workouts are not really intense, I shouldn't do it either way, right?